struct Jargon::FlagInfo

Overview

Information about a flag for completion generation

Defined in:

jargon/completion.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(long : String, short : String | Nil, description : String | Nil, enum_values : Array(String) | Nil) #

[View source]

Instance Method Detail

def clone #

[View source]
def copy_with(long _long = @long, short _short = @short, description _description = @description, enum_values _enum_values = @enum_values) #

[View source]
def description : String | Nil #

def enum_values : Array(String) | Nil #

def long : String #

def short : String | Nil #