Skip to content

intercloud/env2consul

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

env2consul

This is a tool to put environment in given dotenv file in consul key/value store. To do so, run:

$ env2consul -prefix foo/bar .env

Where .env is the dotenv file to load and foo/bar is the prefix for keys. You may pass more than one file to load.

Consul command line tool must have been installed in your PATH. You can download it from https://www.consul.io/downloads.

Enjoy!

About

Tool to load dotenv file in consul key/value store

Resources

Stars

Watchers

Forks

Packages

No packages published