class Clicr

Defined in:

clicr.cr
command.cr

Constructors

Instance Method Summary

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) #

[View source]

Instance Method Detail

def argument_required : Proc(String, String, String) #

[View source]
def argument_required=(argument_required : Proc(String, String, String)) #

[View source]
def error_callback : Proc(String, Nil) #

[View source]
def error_callback=(error_callback : Proc(String, Nil)) #

[View source]
def help_callback : Proc(String, Nil) #

[View source]
def help_callback=(help_callback : Proc(String, Nil)) #

[View source]
def help_footer : Proc(String, String) #

[View source]
def help_footer=(help_footer : Proc(String, String)) #

[View source]
def help_option : String #

[View source]
def invalid_option_value : Proc(String, String, Exception, String) #

[View source]
def invalid_option_value=(invalid_option_value : Proc(String, String, Exception, String)) #

[View source]
def run(args : Array(String) = @args) #

[View source]
def unknown_argument : Proc(String, String, String) #

[View source]
def unknown_argument=(unknown_argument : Proc(String, String, String)) #

[View source]
def unknown_command : Proc(String, String, String) #

[View source]
def unknown_command=(unknown_command : Proc(String, String, String)) #

[View source]
def unknown_option : Proc(String, String, String) #

[View source]
def unknown_option=(unknown_option : Proc(String, String, String)) #

[View source]