Download node_modules/dotenv/lib/cli-options.js from kirimdata369/task-manager-pro: direct link, hf CLI and curl.
- Browser
- Download file 385 Bytes
-
https://huggingface.co/spaces/kirimdata369/task-manager-pro/resolve/main/node_modules/dotenv/lib/cli-options.js
- Command line
-
hf download hf://spaces/kirimdata369/task-manager-pro/node_modules/dotenv/lib/cli-options.js
-
curl -L -o cli-options.js https://huggingface.co/spaces/kirimdata369/task-manager-pro/resolve/main/node_modules/dotenv/lib/cli-options.js
385 Bytes
| 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 | |
| } | |