Module: Bovem::CommandMethods::Help
- Included in:
- Bovem::Command
- Defined in:
- lib/bovem/command.rb
Overview
Methods for showing help messages.
Instance Method Summary collapse
-
#show_help ⇒ Object
Shows a help about this command.
Instance Method Details
#show_help ⇒ Object
Shows a help about this command.
13 14 15 16 17 18 19 20 |
# File 'lib/bovem/command.rb', line 13 def show_help console = application? ? self.console : application.console application? ? show_help_application_summary(console) : show_help_command_summary(console) (console) if (console) if show_help_commands(console) if commands? Kernel.exit(0) end |