File size: 255 Bytes
f9f0fec
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
(function () {
  var options = {}
  process.argv.forEach(function (val, idx, arr) {
    var matches = val.match(/^dotenv_config_(.+)=(.+)/)
    if (matches) {
      options[matches[1]] = matches[2]
    }
  })

  require('./lib/main').config(options)
})()