Class: Brick::CLI::Help
- Inherits:
-
Brick::CLI
- Object
- Brick::CLI
- Brick::CLI::Help
- Defined in:
- lib/brick/cli/help.rb
Instance Method Summary collapse
Methods inherited from Brick::CLI
category, common_optparser, dependency_loaders, deps, #humanize_exception, inherited, #initialize, list_commands, list_parameters, load_commands, load_deps, logger, run, #run_with_pretty_exceptions, #show_usage, snake_case_name, subcommand_category, subcommand_class_from, subcommand_loader, subcommand_not_found!, subcommands, subcommands_by_category, unnamed?
Methods included from Mixin::ConvertToClassName
#convert_to_class_name, #convert_to_snake_case, #filename_to_qualified_string, #snake_case_basename
Methods included from Mixlib::CLI
Constructor Details
This class inherits a constructor from Brick::CLI
Instance Method Details
#run ⇒ Object
9 10 11 12 |
# File 'lib/brick/cli/help.rb', line 9 def run ::Brick::CLI.common_optparser.opt_parser.=self. ::Brick::CLI_Validator::print_help_and_exit(0) end |