Method: ECSHelper::Command::Base#initialize

Defined in:
lib/ecs_helper/command/base.rb

#initialize(helper) ⇒ Base

Returns a new instance of Base.



10
11
12
13
14
15
# File 'lib/ecs_helper/command/base.rb', line 10

def initialize(helper)
  @client = helper.client
  @helper = helper
  @option_parser, @options = cmd_option_parser
  @option_parser.parse!(into: @options)
end