Class: Blockspring::CLI::Command::Help
- Defined in:
- lib/blockspring/cli/command/help.rb
Overview
Get information about commands
Constant Summary collapse
- PRIMARY_NAMESPACES =
%w( auth block run )
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
Methods included from Helpers
#display, #error, error_with_failure, error_with_failure=, #format_with_bang, #home_directory, #longest, #output_with_bang, #running_on_a_mac?, #running_on_windows?
Constructor Details
This class inherits a constructor from Blockspring::CLI::Command::Base
Instance Method Details
#index ⇒ Object
44 45 46 47 48 49 50 |
# File 'lib/blockspring/cli/command/help.rb', line 44 def index if command = args.shift help_for_command(command) else help_for_root end end |