Class: Mantra::Commands::Help

Inherits:
Mantra::Command show all
Defined in:
lib/mantra/commands/help.rb

Instance Attribute Summary

Attributes inherited from Mantra::Command

#options

Instance Method Summary collapse

Methods inherited from Mantra::Command

description, full_description, #initialize, option, option_descriptors, #parse_options, #run, usage

Methods included from Helpers::ObjectWithType

included

Constructor Details

This class inherits a constructor from Mantra::Command

Instance Method Details

#performObject



10
11
12
13
# File 'lib/mantra/commands/help.rb', line 10

def perform
  puts Mantra::Command.usage
  exit 0        
end