1.3.0 • Published 5 years ago

menv v1.3.0

Weekly downloads
3
License
ISC
Repository
github
Last release
5 years ago

menv

Inheritable Multiple Environment Configuration for Any Language

Demo: menv build

Usage

1. Without NodeJS Runtime

1.1. Install / Upgrade

curl -s https://registry.npmjs.org/menv-wrapper/-/menv-wrapper-1.3.0.tgz |tar zx package/menv --strip-components=1
./menv
git add -f menv .gitignore
git commit -m 'add menv'
git push

1.2. Prepare Config

example: https://github.com/yinrong/menv/tree/master/test/conf

1.3. Build Config

  • Source config files must be located at "./conf/".
  • Output config files are located at "./build/conf/".
./menv build

1.4. Echo Config

./menv echo <env> <path>

2. With NodeJS Runtime

2.1. Install / Upgrade

npm i -g menv

2.2. Prepare Config

example: https://github.com/yinrong/menv/tree/master/test/conf

2.3. Build Config

  • Source config files must be located at "./conf/".
  • Output config files are located at "./build/conf/".
menv build

2.4. Echo Config

menv echo <env> <path>
1.3.0

5 years ago

1.2.2

5 years ago

1.2.1

5 years ago

1.2.0

5 years ago

1.1.2

5 years ago

1.1.1

5 years ago

1.1.0

5 years ago

1.0.9

5 years ago

1.0.7

5 years ago

1.0.6

5 years ago

1.0.4

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago