Run a command with environment variables set from a url or file
Project description
envRunner is a command wrapper that provides configuration through
environment variables. These variables can be set from a multitude of
sources.
Examples:
envRunner test.yml exec some_command params envRunner test.json exec some_command params envRunner http://test.com/test.yml exec some_command params envRunner http://test.com/test.json exec some_command params
Each of the above will read the configuration file and then merge the values inside of that with the environment of the subprocess.
Example test.yml:
HELLO: world TESTING: 123
Example test.json:
{ "HELLO": "world", "TESTING": 123 }
Help Text:
Usage: envRunner (-h | --help) envRunner <config> exec [COMMAND ...] Options: -h --help Shows this screen. --version
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
envRunner-0.1.8.tar.gz
(1.9 kB
view details)
Built Distribution
envRunner-0.1.8-py2.7.egg
(2.4 kB
view details)
File details
Details for the file envRunner-0.1.8.tar.gz
.
File metadata
- Download URL: envRunner-0.1.8.tar.gz
- Upload date:
- Size: 1.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b716db8b01ad2731567a618e2367eb3f3d50faf071bd2a424bb8996b24b66535 |
|
MD5 | d2837943aab11c6aca0a6fc7d97a371a |
|
BLAKE2b-256 | b51fc7ff79af6a424c960c353c756bcead2626e18a4399f2c685dd03c14daaac |
File details
Details for the file envRunner-0.1.8-py2.7.egg
.
File metadata
- Download URL: envRunner-0.1.8-py2.7.egg
- Upload date:
- Size: 2.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b1aea760f34f75cd262f4f321126c21b47cc7d02686f33011b7eee6f30743510 |
|
MD5 | 5ddac0d853b80f2b31a0e0a8fcf28b2c |
|
BLAKE2b-256 | b8e5752864563c62fdb7a7b7a02c3374409a47e179874b8aa919ae461c79abaf |