Class: Crowbar::Client::App::Base

Inherits:
Thor
  • Object
show all
Defined in:
lib/crowbar/client/app/base.rb

Instance Method Summary collapse

Constructor Details

#initialize(args = [], local_options = {}, config = {}) ⇒ Base

Returns a new instance of Base.



24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# File 'lib/crowbar/client/app/base.rb', line 24

def initialize(args = [], local_options = {}, config = {})
  super

  Config.configure(
    options.slice(
      :config,
      :alias,
      :username,
      :password,
      :server,
      :timeout,
      :anonymous,
      :debug
    )
  )
end