class Dingus::CLI

Public Instance Methods

setup(environment_name) click to toggle source
# File lib/dingus/cli.rb, line 9
def setup(environment_name)
  file_path = File.join(CONFIGURATION_PATH, "#{environment_name}.yaml")
  environment = YAML.load_file(file_path)
  environment.each do |key, value|
    puts %Q{set -gx #{key} "#{value}"}
  end
end