Class: Mysh::HelpCommand
Overview
The mysh internal help command.
Instance Attribute Summary
Attributes inherited from Action
Instance Method Summary collapse
-
#process_command(input) ⇒ Object
Execute a help command by routing it to a sub-command.
Methods inherited from Action
#action_info, #initialize, #process_quick_command, #short_name
Constructor Details
This class inherits a constructor from Mysh::Action
Instance Method Details
#process_command(input) ⇒ Object
Execute a help command by routing it to a sub-command. Endemic Code Smells :reek:UtilityFunction
29 30 31 32 |
# File 'lib/mysh/internal/help.rb', line 29 def process_command(input) args = input.args HELP[args[0] || ""].process_command(args) end |