Class: Pebbles::Command::Help
Overview
list commands and display help
Constant Summary collapse
- PRIMARY_NAMESPACES =
%w( auth apps ps run addons config releases domains logs sharing )
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
#api, #app, #initialize, namespace
Methods included from Helpers
#action, #ask, #confirm_command, #create_git_remote, #debug, #debugging?, #display, #error, error_with_failure, error_with_failure=, #flatten_hash, #format_bytes, #format_error, #format_with_bang, #git, #has_git?, #has_git_remote?, #has_http_git_entry_in_netrc, #home_directory, #hputs, #json_decode, #launchy, #line_formatter, #longest, #output_with_bang, #running_on_a_mac?, #running_on_windows?, #styled_array, #styled_error, #styled_hash, #styled_header, #update_git_remote, #with_tty
Constructor Details
This class inherits a constructor from Pebbles::Command::Base
Instance Method Details
#index ⇒ Object
9 10 11 12 13 14 15 |
# File 'lib/pebbles/command/help.rb', line 9 def index if command = args.shift help_for_command(command) else help_for_root end end |