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