dotenv-to-gaeenv

A CLI tool to generate gaeenv from dotenv

Usage no npm install needed!

<script type="module">
  import dotenvToGaeenv from 'https://cdn.skypack.dev/dotenv-to-gaeenv';
</script>

README

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