class Bnet::Commands::HelpCommand

Public Instance Methods

description() click to toggle source
# File lib/bnet/commands/help.rb, line 9
def description
  'Print help message for this program or a command.'
end
extra_params() click to toggle source
# File lib/bnet/commands/help.rb, line 13
def extra_params
  '[command]'
end
run() click to toggle source
# File lib/bnet/commands/help.rb, line 17
def run
  command = args.shift
  command = command.to_sym unless command.nil?
  raise InvalidCommandException.new(nil, command)
end