1.0.4 • Published 3 years ago

json-js-env-cli v1.0.4

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

CLI for json-js-env

Installation

Global

npm i -g json-js-env-cli

Local

npm i json-js-env-cli

Usage

Usage: json-js-env-cli [options]

Options:
  -f, --file <file>        JSON or JS env file (multiple files can be provided, duplicate keys will be overwritten) (default: [])
  --replace-existing-envs  Replace existing environment variables
  --preserve-attributes    Preserve variable attributes (Will be injected as JSON objects)
  -c, --command <command>  command to run
  -h, --help               display help for command

Example

json-js-env-cli -f ./.env.json -c "node index2.js"
1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago