PHP 8.2.30
Preview: cli-options.js Size: 385 B
//proc/thread-self/root/home/byroehnu/.trash/node_modules11/dotenv/lib/cli-options.js

const re = /^dotenv_config_(encoding|path|quiet|debug|override|DOTENV_KEY)=(.+)$/

module.exports = function optionMatcher (args) {
  const options = args.reduce(function (acc, cur) {
    const matches = cur.match(re)
    if (matches) {
      acc[matches[1]] = matches[2]
    }
    return acc
  }, {})

  if (!('quiet' in options)) {
    options.quiet = 'true'
  }

  return options
}

Directory Contents

Dirs: 0 × Files: 4

Name Size Perms Modified Actions
385 B lrw-r--r-- 2026-02-03 15:06:12
Edit Download
733 B lrw-r--r-- 2026-02-03 15:06:14
Edit Download
5.31 KB lrw-r--r-- 2026-02-03 15:06:18
Edit Download
12.49 KB lrw-r--r-- 2026-02-03 15:06:14
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).