Sha256: 657b10728958b0405996dcc0b3bd136d36d2ca470ab23c8a37381f99d9a4f501

Contents?: true

Size: 340 Bytes

Versions: 13

Compression:

Stored size: 340 Bytes

Contents

require 'dotenv'
require 'optparse'


class OptimusCloudEnvLoader
  def loadEnv
    p "Loading Env file"
    p ARGV
    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

13 entries across 13 versions & 1 rubygems

Version Path
optimus-runner-1.2.0 lib/optimus-runner/utils/optimuscloudenv.rb
optimus-runner-1.1.4 lib/optimus-runner/utils/optimuscloudenv.rb
optimus-runner-1.1.3 lib/optimus-runner/utils/optimuscloudenv.rb
optimus-runner-1.1.2 lib/optimus-runner/utils/optimuscloudenv.rb
optimus-runner-1.1.1 lib/optimus-runner/utils/optimuscloudenv.rb
optimus-runner-1.1.0 lib/optimus-runner/utils/optimuscloudenv.rb
optimus-runner-1.0.2 lib/optimus-runner/utils/optimuscloudenv.rb
optimus-runner-0.15.0 lib/optimus-runner/utils/optimuscloudenv.rb
optimus-runner-0.14.0 lib/optimus-runner/utils/optimuscloudenv.rb
optimus-runner-0.13.0 lib/optimus-runner/utils/optimuscloudenv.rb
optimus-runner-0.12.0 lib/optimus-runner/utils/optimuscloudenv.rb
optimus-runner-0.11.0 lib/optimus-runner/utils/optimuscloudenv.rb
optimus-runner-0.10.0 lib/optimus-runner/utils/optimuscloudenv.rb