Class: Gts::HelpCommand
- Defined in:
- lib/gts/commands/help_command.rb
Instance Attribute Summary
Attributes inherited from Command
Instance Method Summary collapse
Methods inherited from Command
execute, known_commands_descriptions, register
Instance Method Details
#execute ⇒ Object
9 10 11 12 13 |
# File 'lib/gts/commands/help_command.rb', line 9 def execute Gts::Command.known_commands_descriptions.map { |k, v| "#{k.to_s.ljust(30)} - #{v}" }.join("\n") end |