@elevenback/env-yaml-generator
TypeScript icon, indicating that this package has built-in type declarations

0.2.0 • Public • Published

@elevenback/env-yaml-generator

codecov

env.yaml auto generate CLI tool for Google AppEngine.

Motivation

When deploying applications to Google AppEngine, we bother us with managing environment variables.

This package automatically generates a dedicated YAML file that enumerates environment variables (with the prefix and regex filter you specified) and makes managing environment variables the easiest.

Usage

Preparation process

At first, Please add include to your app.yaml.

# app.yaml

includes:
- env.yaml

Usage for CLI

$ yarn add @elevenback/env-yaml-generator -D
$ export DEV_API_ROOT="https://dev.example.com"
$ export PROD_API_ROOT="https://prod.example.com"
$ yarn create-env-yaml --environment DEV --filter "API_.+"
$ cat ./env.yaml
env_variables:
  API_ROOT: "https://dev.example.com"

LICENCE

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i @elevenback/env-yaml-generator

Weekly Downloads

9

Version

0.2.0

License

MIT

Unpacked Size

27 kB

Total Files

24

Last publish

Collaborators

  • potato4d