class Clicr
- Clicr
- Reference
- Object
Defined in:
clicr.crcommand.cr
Constructors
Instance Method Summary
- #argument_required : Proc(String, String, String)
- #argument_required=(argument_required : Proc(String, String, String))
- #error_callback : Proc(String, Nil)
- #error_callback=(error_callback : Proc(String, Nil))
- #help_callback : Proc(String, Nil)
- #help_callback=(help_callback : Proc(String, Nil))
- #help_footer : Proc(String, String)
- #help_footer=(help_footer : Proc(String, String))
- #help_option : String
- #invalid_option_value : Proc(String, String, Exception, String)
- #invalid_option_value=(invalid_option_value : Proc(String, String, Exception, String))
- #run(args : Array(String) = @args)
- #unknown_argument : Proc(String, String, String)
- #unknown_argument=(unknown_argument : Proc(String, String, String))
- #unknown_command : Proc(String, String, String)
- #unknown_command=(unknown_command : Proc(String, String, String))
- #unknown_option : Proc(String, String, String)
- #unknown_option=(unknown_option : Proc(String, String, String))
Constructor Detail
def self.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)
#
Instance Method Detail
def invalid_option_value=(invalid_option_value : Proc(String, String, Exception, String))
#