Module: MelissaData::Command::Helpers

Included in:
Base
Defined in:
lib/melissadata/command/helpers.rb

Instance Method Summary collapse

Instance Method Details

#initialize_environment(args, options, config) ⇒ Object

Initializes the environment by pulling the environment out of the configuration hash and sets up the UI if necessary.



6
7
8
9
# File 'lib/melissadata/command/helpers.rb', line 6

def initialize_environment(args, options, config)
  # raise Errors::CLIMissingEnvironment if !config[:env]
  @env = config[:env]
end