Module: Bovem::CommandMethods::Help
- Included in:
- Bovem::Command
- Defined in:
- lib/bovem/command.rb
Overview
Methods for showing help messages.
Instance Method Summary (collapse)
-
- (Object) show_help
Shows a help about this command.
Instance Method Details
- (Object) show_help
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 |