Class: Teems::Commands::Help
Overview
Displays help information for commands
Instance Attribute Summary
Attributes inherited from Base
#options, #positional_args, #runner
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from Teems::Commands::Base
Instance Method Details
#execute ⇒ Object
22 23 24 25 26 27 28 29 30 31 32 |
# File 'lib/teems/commands/help.rb', line 22 def execute topic = positional_args.first if topic show_command_help(topic) else show_general_help end 0 end |