Class: Emasser::CLI

Inherits:
Thor
  • Object
show all
Defined in:
lib/emasser/cli.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.exit_on_failure?Boolean

Returns:

  • (Boolean)


33
34
35
# File 'lib/emasser/cli.rb', line 33

def self.exit_on_failure?
  true
end

Instance Method Details

#helpObject



28
29
30
31
# File 'lib/emasser/cli.rb', line 28

def help
  puts 'Emasser commands:'.yellow
  puts '  emasser [get, put, post, delete, -v, or -V]'.yellow
end