struct
Noir::CLI::ScanFlags::Flag
- Noir::CLI::ScanFlags::Flag
- Struct
- Value
- Object
Defined in:
cli/scan_flags.crConstructors
Instance Method Summary
- #arg : Arg
- #choice_list : String
- #choices : Array(String)
- #clone
- #copy_with(long _long = @long, description _description = @description, arg _arg = @arg, shorts _shorts = @shorts, hint _hint = @hint, choices _choices = @choices)
- #description : String
- #long : String
-
#names : Array(String)
Short forms first, matching how every generator lists them.
- #shorts : Array(String)
- #takes_value? : Bool
Constructor Detail
def self.new(long : String, description : String, arg : Arg = Arg::None, shorts : Array(String) = [] of String, hint : String = "value", choices : Array(String) = [] of String)
#
Instance Method Detail
def copy_with(long _long = @long, description _description = @description, arg _arg = @arg, shorts _shorts = @shorts, hint _hint = @hint, choices _choices = @choices)
#
Short forms first, matching how every generator lists them.