Class: Spacialdb::Command::Help
- Includes:
- Deprecated::Help
- Defined in:
- lib/spacialdb/command/help.rb
Overview
list commands and display help
Constant Summary collapse
- PRIMARY_NAMESPACES =
%w( auth db layers )
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
-
#index ⇒ Object
help [COMMAND].
Methods included from Deprecated::Help
Methods inherited from Base
#initialize, namespace, #spacialdb
Methods included from Helpers
#ask, #confirm_command, #display, #echo_off, #echo_on, #error, #home_directory, #json_decode, #json_encode, #longest, #redisplay
Constructor Details
This class inherits a constructor from Spacialdb::Command::Base
Instance Method Details
#index ⇒ Object
help [COMMAND]
list available commands or display help for a specific command
16 17 18 19 20 21 22 |
# File 'lib/spacialdb/command/help.rb', line 16 def index if command = args.shift help_for_command(command) else help_for_root end end |