• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1(function () {
2  var options = {}
3  process.argv.forEach(function (val, idx, arr) {
4    var matches = val.match(/^dotenv_config_(.+)=(.+)/)
5    if (matches) {
6      options[matches[1]] = matches[2]
7    }
8  })
9
10  require('./lib/main').config(options)
11})()
12