abstract class Cli::Command
Defined in:
cli/command.cr
Class Method Summary
Instance Method Summary
Instance methods inherited from class Cli::CommandBase
__args
__args,
__error!(message = nil, code = nil, help = false, indent = 2)
__error!,
__exit!(message = nil, error = false, code = nil, help = false, indent = 2)
__exit!,
__help!(message = nil, error = nil, code = nil, indent = 2)
__help!,
__named_args
__named_args,
__nameless_args
__nameless_args,
__option_model
__option_model,
__options
__options,
__parent : Cli::CommandBase | Nil
__parent,
__parsed_args
__parsed_args,
__rescue_parsing_error(&)
__rescue_parsing_error,
__run
__run,
__unparsed_args
__unparsed_args,
__version
__version,
__version!
__version!,
__version?
__version?,
args
args,
error!(message = nil, code = nil, help = false, indent = 2)
error!,
exit!(message = nil, error = false, code = nil, help = false, indent = 2)
exit!,
help!(message = nil, error = nil, code = nil, indent = 2)
help!,
named_args
named_args,
nameless_args
nameless_args,
options
options,
parsed_args
parsed_args,
run
run,
unparsed_args
unparsed_args,
version
version,
version!
version!,
version?
version?
Constructor methods inherited from class Cli::CommandBase
new(__parent : Cli::CommandBase | Nil, argv)
new
Class methods inherited from class Cli::CommandBase
__global_name
__global_name,
__help_on_parsing_error?
__help_on_parsing_error?,
__local_name
__local_name,
__run(argv)
__run,
__run_with_rescue(argv)
__run_with_rescue,
__run_without_rescue(argv)
__run_without_rescue,
__version
__version,
__version?
__version?,
run(argv = [] of ::String)
run
Class Method Detail
def self.
__supercommand
#
Instance Method Detail
def
__initialize_options(argv)
#