├── .editorconfig ├── .github ├── dependabot.yml └── workflows │ ├── linux-tests.yml │ └── windows-tests.yml ├── .gitignore ├── .husky └── commit-msg copy ├── .npmrc ├── LICENSE ├── README.md ├── examples ├── env-file-async-cjs │ ├── async-env.cjs │ ├── index.js │ └── package.json ├── env-file-async-mjs │ ├── async-env.mjs │ ├── index.js │ └── package.json ├── env-file-async │ ├── async-env.js │ ├── index.js │ └── package.json ├── env-file-custom-path │ ├── .env-file │ ├── index.js │ └── package.json ├── env-file-env-expansion │ ├── .env │ ├── index.js │ └── package.json ├── env-file-fallback │ ├── .env │ ├── .npmrc │ ├── index.js │ └── package.json ├── env-file-silent │ ├── .env │ ├── index.js │ └── package.json ├── env-file-use-shell │ ├── index.js │ ├── package.json │ └── use-shell.env ├── env-file │ ├── .env │ ├── index.js │ └── package.json ├── rc-file-async-cjs │ ├── async-rc.cjs │ ├── index.js │ └── package.json ├── rc-file-async-mjs │ ├── async-rc.mjs │ ├── index.js │ └── package.json ├── rc-file-async │ ├── async-rc.js │ ├── index.js │ └── package.json ├── rc-file-custom-path │ ├── .cmdrc.json │ ├── index.js │ └── package.json ├── rc-file-multiple-environments │ ├── .env-cmdrc │ ├── index.js │ └── package.json ├── rc-file-silent │ ├── index.js │ └── package.json └── rc-file │ ├── .env-cmdrc │ ├── index.js │ └── package.json ├── lerna.json └── package.json /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toddbluhm/env-cmd-examples/HEAD/.editorconfig -------------------------------------------------------------------------------- /.github/dependabot.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toddbluhm/env-cmd-examples/HEAD/.github/dependabot.yml -------------------------------------------------------------------------------- /.github/workflows/linux-tests.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toddbluhm/env-cmd-examples/HEAD/.github/workflows/linux-tests.yml -------------------------------------------------------------------------------- /.github/workflows/windows-tests.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toddbluhm/env-cmd-examples/HEAD/.github/workflows/windows-tests.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | package-lock.json 3 | .idea 4 | -------------------------------------------------------------------------------- /.husky/commit-msg copy: -------------------------------------------------------------------------------- 1 | npx commitlint --edit 2 | -------------------------------------------------------------------------------- /.npmrc: -------------------------------------------------------------------------------- 1 | package-lock = false 2 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toddbluhm/env-cmd-examples/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toddbluhm/env-cmd-examples/HEAD/README.md -------------------------------------------------------------------------------- /examples/env-file-async-cjs/async-env.cjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toddbluhm/env-cmd-examples/HEAD/examples/env-file-async-cjs/async-env.cjs -------------------------------------------------------------------------------- /examples/env-file-async-cjs/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toddbluhm/env-cmd-examples/HEAD/examples/env-file-async-cjs/index.js -------------------------------------------------------------------------------- /examples/env-file-async-cjs/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toddbluhm/env-cmd-examples/HEAD/examples/env-file-async-cjs/package.json -------------------------------------------------------------------------------- /examples/env-file-async-mjs/async-env.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toddbluhm/env-cmd-examples/HEAD/examples/env-file-async-mjs/async-env.mjs -------------------------------------------------------------------------------- /examples/env-file-async-mjs/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toddbluhm/env-cmd-examples/HEAD/examples/env-file-async-mjs/index.js -------------------------------------------------------------------------------- /examples/env-file-async-mjs/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toddbluhm/env-cmd-examples/HEAD/examples/env-file-async-mjs/package.json -------------------------------------------------------------------------------- /examples/env-file-async/async-env.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toddbluhm/env-cmd-examples/HEAD/examples/env-file-async/async-env.js -------------------------------------------------------------------------------- /examples/env-file-async/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toddbluhm/env-cmd-examples/HEAD/examples/env-file-async/index.js -------------------------------------------------------------------------------- /examples/env-file-async/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toddbluhm/env-cmd-examples/HEAD/examples/env-file-async/package.json -------------------------------------------------------------------------------- /examples/env-file-custom-path/.env-file: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toddbluhm/env-cmd-examples/HEAD/examples/env-file-custom-path/.env-file -------------------------------------------------------------------------------- /examples/env-file-custom-path/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toddbluhm/env-cmd-examples/HEAD/examples/env-file-custom-path/index.js -------------------------------------------------------------------------------- /examples/env-file-custom-path/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toddbluhm/env-cmd-examples/HEAD/examples/env-file-custom-path/package.json -------------------------------------------------------------------------------- /examples/env-file-env-expansion/.env: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toddbluhm/env-cmd-examples/HEAD/examples/env-file-env-expansion/.env -------------------------------------------------------------------------------- /examples/env-file-env-expansion/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toddbluhm/env-cmd-examples/HEAD/examples/env-file-env-expansion/index.js -------------------------------------------------------------------------------- /examples/env-file-env-expansion/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toddbluhm/env-cmd-examples/HEAD/examples/env-file-env-expansion/package.json -------------------------------------------------------------------------------- /examples/env-file-fallback/.env: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toddbluhm/env-cmd-examples/HEAD/examples/env-file-fallback/.env -------------------------------------------------------------------------------- /examples/env-file-fallback/.npmrc: -------------------------------------------------------------------------------- 1 | package-lock = false 2 | -------------------------------------------------------------------------------- /examples/env-file-fallback/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toddbluhm/env-cmd-examples/HEAD/examples/env-file-fallback/index.js -------------------------------------------------------------------------------- /examples/env-file-fallback/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toddbluhm/env-cmd-examples/HEAD/examples/env-file-fallback/package.json -------------------------------------------------------------------------------- /examples/env-file-silent/.env: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toddbluhm/env-cmd-examples/HEAD/examples/env-file-silent/.env -------------------------------------------------------------------------------- /examples/env-file-silent/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toddbluhm/env-cmd-examples/HEAD/examples/env-file-silent/index.js -------------------------------------------------------------------------------- /examples/env-file-silent/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toddbluhm/env-cmd-examples/HEAD/examples/env-file-silent/package.json -------------------------------------------------------------------------------- /examples/env-file-use-shell/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toddbluhm/env-cmd-examples/HEAD/examples/env-file-use-shell/index.js -------------------------------------------------------------------------------- /examples/env-file-use-shell/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toddbluhm/env-cmd-examples/HEAD/examples/env-file-use-shell/package.json -------------------------------------------------------------------------------- /examples/env-file-use-shell/use-shell.env: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toddbluhm/env-cmd-examples/HEAD/examples/env-file-use-shell/use-shell.env -------------------------------------------------------------------------------- /examples/env-file/.env: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toddbluhm/env-cmd-examples/HEAD/examples/env-file/.env -------------------------------------------------------------------------------- /examples/env-file/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toddbluhm/env-cmd-examples/HEAD/examples/env-file/index.js -------------------------------------------------------------------------------- /examples/env-file/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toddbluhm/env-cmd-examples/HEAD/examples/env-file/package.json -------------------------------------------------------------------------------- /examples/rc-file-async-cjs/async-rc.cjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toddbluhm/env-cmd-examples/HEAD/examples/rc-file-async-cjs/async-rc.cjs -------------------------------------------------------------------------------- /examples/rc-file-async-cjs/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toddbluhm/env-cmd-examples/HEAD/examples/rc-file-async-cjs/index.js -------------------------------------------------------------------------------- /examples/rc-file-async-cjs/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toddbluhm/env-cmd-examples/HEAD/examples/rc-file-async-cjs/package.json -------------------------------------------------------------------------------- /examples/rc-file-async-mjs/async-rc.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toddbluhm/env-cmd-examples/HEAD/examples/rc-file-async-mjs/async-rc.mjs -------------------------------------------------------------------------------- /examples/rc-file-async-mjs/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toddbluhm/env-cmd-examples/HEAD/examples/rc-file-async-mjs/index.js -------------------------------------------------------------------------------- /examples/rc-file-async-mjs/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toddbluhm/env-cmd-examples/HEAD/examples/rc-file-async-mjs/package.json -------------------------------------------------------------------------------- /examples/rc-file-async/async-rc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toddbluhm/env-cmd-examples/HEAD/examples/rc-file-async/async-rc.js -------------------------------------------------------------------------------- /examples/rc-file-async/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toddbluhm/env-cmd-examples/HEAD/examples/rc-file-async/index.js -------------------------------------------------------------------------------- /examples/rc-file-async/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toddbluhm/env-cmd-examples/HEAD/examples/rc-file-async/package.json -------------------------------------------------------------------------------- /examples/rc-file-custom-path/.cmdrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toddbluhm/env-cmd-examples/HEAD/examples/rc-file-custom-path/.cmdrc.json -------------------------------------------------------------------------------- /examples/rc-file-custom-path/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toddbluhm/env-cmd-examples/HEAD/examples/rc-file-custom-path/index.js -------------------------------------------------------------------------------- /examples/rc-file-custom-path/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toddbluhm/env-cmd-examples/HEAD/examples/rc-file-custom-path/package.json -------------------------------------------------------------------------------- /examples/rc-file-multiple-environments/.env-cmdrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toddbluhm/env-cmd-examples/HEAD/examples/rc-file-multiple-environments/.env-cmdrc -------------------------------------------------------------------------------- /examples/rc-file-multiple-environments/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toddbluhm/env-cmd-examples/HEAD/examples/rc-file-multiple-environments/index.js -------------------------------------------------------------------------------- /examples/rc-file-multiple-environments/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toddbluhm/env-cmd-examples/HEAD/examples/rc-file-multiple-environments/package.json -------------------------------------------------------------------------------- /examples/rc-file-silent/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toddbluhm/env-cmd-examples/HEAD/examples/rc-file-silent/index.js -------------------------------------------------------------------------------- /examples/rc-file-silent/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toddbluhm/env-cmd-examples/HEAD/examples/rc-file-silent/package.json -------------------------------------------------------------------------------- /examples/rc-file/.env-cmdrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toddbluhm/env-cmd-examples/HEAD/examples/rc-file/.env-cmdrc -------------------------------------------------------------------------------- /examples/rc-file/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toddbluhm/env-cmd-examples/HEAD/examples/rc-file/index.js -------------------------------------------------------------------------------- /examples/rc-file/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toddbluhm/env-cmd-examples/HEAD/examples/rc-file/package.json -------------------------------------------------------------------------------- /lerna.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toddbluhm/env-cmd-examples/HEAD/lerna.json -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toddbluhm/env-cmd-examples/HEAD/package.json --------------------------------------------------------------------------------