class FlagSubParser

Defined in:

flag_parser.cr

Constructors

Instance Method Summary

Instance methods inherited from class FlagParser

add_rule(rule_name, rule : Regex)
add_rule(rule_name, rule : String)
add_rule
, banner : Array(String) banner, banner=(string) banner=, branch_on(*flags, parser subparser, doc description = nil)
branch_on(*flags, parser subparser, doc description = nil, &block : Flag::Callback)
branch_on
, help_group(group) help_group, on(*flags, doc description = nil, &block : Flag::Callback) on, parse(args) parse, to_s to_s

Constructor methods inherited from class FlagParser

new new

Class methods inherited from class FlagParser

parse(args, &) parse

Constructor Detail

def self.new(upvalues : Hash(Symbol, String) = {} of Symbol => String) #

[View source]

Instance Method Detail

def parse(args, upvalues : Upvalue | Nil = nil) #

[View source]
def upvalues : Hash(Symbol, String) #

[View source]