consul-to-env
Generate a .env file from consul config
Last updated 2 years ago by greuze .
GPL3 · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install consul-to-env 
SYNC missed versions from official npm registry.

consul-to-env

Download config from consul and store locally in a .env file

Example of use (module installed globally)

consul-to-env -u 'user:pass' -b 'https://consul.example.com/v1/kv/' -c 'config/app/' -o env

Example of use (module only locally)

npx -p . consul-to-env -u 'user:pass' -b 'https://consul.example.com/v1/kv/' -c 'config/app/' -o env

or

node index.js -u 'user:pass' -b 'https://consul.example.com/v1/kv/' -c 'config/app/' -o env

Current Tags

  • 0.2.0                                ...           latest (2 years ago)

1 Versions

  • 0.2.0                                ...           2 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 1
Last Month 2
Dependencies (2)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |