Method: Fission::Command.help

Defined in:
lib/fission/command.rb

.helpObject

Internal: Helper method to return the help text of a command. This is intended to be used by a command class which inherits from this class. This method will call the ‘option_parser’ method which must be defined in any class which inherits from this class.

Examples

Fission::Command::Suspend.help

Returns a String of the output parser text.



91
92
93
# File 'lib/fission/command.rb', line 91

def self.help
  self.new.option_parser.to_s
end