Sha256: 128a433e98e640f287681e4919b503e35cf1e51fb9d96b1cc8e10f360b9277e9
Contents?: true
Size: 304 Bytes
Versions: 2
Compression:
Stored size: 304 Bytes
Contents
require 'dotenv' require 'optparse' class OptimusCloudEnvLoader def loadEnv optparser = OptionParser.new do |parser| parser.on('-e=FILE','--env=FILE', "Optimus Cloud Environment file") do |file| p file Dotenv.load(file) end end optparser.parse!(ARGV) end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
optimus-runner-0.9.0 | lib/optimus-runner/utils/optimuscloudenv.rb |
optimus-runner-0.8.0 | lib/optimus-runner/utils/optimuscloudenv.rb |