Class: Shippy::Cli::Base

Inherits:
Thor
  • Object
show all
Includes:
SSHKit::DSL
Defined in:
lib/shippy/cli/base.rb

Direct Known Subclasses

App, Main, Prune, Server

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeBase

Returns a new instance of Base.



16
17
18
19
# File 'lib/shippy/cli/base.rb', line 16

def initialize(*)
  super
  initialize_commander(options)
end

Class Method Details

.exit_on_failure?Boolean

Returns:

  • (Boolean)


8
9
10
# File 'lib/shippy/cli/base.rb', line 8

def self.exit_on_failure?
  true
end