Clicr
Inherits Reference < Object
Constructors
new(*, name : String = Path[PROGRAM_NAME].basename, label : String | Nil = nil, description : String | Nil = nil, usage_name : String = "Usage: ", commands_name : String = "COMMANDS", options_name : String = "OPTIONS", help_option : String = "help", args : Array(String) = ARGV, action = nil, arguments = nil, commands = nil, options = nil)
SourceInstance methods
argument_required
Sourceargument_required=(argument_required : Proc(String, String, String))
Sourceerror_callback
Sourceerror_callback=(error_callback : Proc(String, Nil))
Sourcehelp_callback
Sourcehelp_callback=(help_callback : Proc(String, Nil))
Sourcehelp_option
Sourceinvalid_option_value
Sourceinvalid_option_value=(invalid_option_value : Proc(String, String, Exception, String))
Sourcerun(args : Array(String) = @args)
Sourceunknown_argument
Sourceunknown_argument=(unknown_argument : Proc(String, String, String))
Sourceunknown_command
Sourceunknown_command=(unknown_command : Proc(String, String, String))
Sourceunknown_option
Sourceunknown_option=(unknown_option : Proc(String, String, String))
Source