Class: Zillabyte::Command::Help
Overview
list commands and display help
Constant Summary collapse
- PRIMARY_NAMESPACES =
%w( relations query flows logs )
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
alias_command, extract_banner, extract_description, extract_help, extract_help_from_caller, extract_options, extract_summary, inherited, #initialize, method_added, namespace
Methods included from Helpers
#ask, #display, #error, #format_with_bang, #longest, #read_multiline, #with_tty
Constructor Details
This class inherits a constructor from Zillabyte::Command::Base
Instance Method Details
#index(*direct_args) ⇒ Object
10 11 12 13 14 15 16 |
# File 'lib/zillabyte/cli/help.rb', line 10 def index(*direct_args) if command = args.shift || direct_args.shift help_for_command(command) else help_for_root end end |