Class: EY::Stonith::Commands::Help

Inherits:
Abstract
  • Object
show all
Defined in:
lib/ey_stonith/commands/help.rb

Constant Summary

Constants inherited from Abstract

Abstract::DEFAULT_CONFIG_PATH, Abstract::SCRIPT_NAME

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from Abstract

#call, command, #command_options, #config, #execute, #history, #init_logger, #initialize, #parse!, #parser, #script

Constructor Details

This class inherits a constructor from EY::Stonith::Commands::Abstract

Class Method Details



5
6
7
# File 'lib/ey_stonith/commands/help.rb', line 5

def self.banner
  "A helpful message :D"
end

Instance Method Details

#invokeObject



9
10
11
12
# File 'lib/ey_stonith/commands/help.rb', line 9

def invoke
  puts "Stonith is a set of takeover & monitoring scripts for Engine Yard clusters.\n\n"
  super
end