0.1.0 • Published 3 years ago

dotenv-to-gaeenv v0.1.0

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

dotenv-to-gaeenv

A CLI tool to generate gaeenv from dotenv

Install

$ npm install dotenv-to-gaeenv --save-dev

Usage

$ cat .env
NODE_ENV=production
$ npx dotenv-to-gaeenv
$ cat env.yaml
env_variables:
  NODE_ENV: "production"

Options

-i, --input

$ cat .env.production
NODE_ENV=production
$ npx dotenv-to-gaeenv -i .env.production
$ cat env.yaml
env_variables:
  NODE_ENV: "production"

-o, --output

$ cat .env
NODE_ENV=production
$ npx dotenv-to-gaeenv -o env.production.yaml
$ cat env.production.yaml
env_variables:
  NODE_ENV: "production"

Author

@p-chan

License

MIT