Method: Pec2::CLI#initialize

Defined in:
lib/pec2/cli.rb

#initialize(args = [], options = {}, config = {}) ⇒ CLI

Returns a new instance of CLI.



12
13
14
15
16
17
# File 'lib/pec2/cli.rb', line 12

def initialize(args = [], options = {}, config = {})
  super(args, options, config)
  @global_options = config[:shell].base.options
  @core = Ec2.new(profile: @global_options[:profile])
  @logger = Logger.new(STDOUT)
end