module Bovem::CommandMethods::Help

Methods for showing help messages.

Public Instance Methods

show_help() click to toggle source

Shows a help about this command.

# 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)
  show_help_banner(console) if banner?
  show_help_options(console) if options?
  show_help_commands(console) if commands?
  Kernel.exit(0)
end