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.7.tar.gz
(1.9 kB
view details)
Built Distribution
envRunner-0.1.7-py2.7.egg
(2.6 kB
view details)
File details
Details for the file envRunner-0.1.7.tar.gz
.
File metadata
- Download URL: envRunner-0.1.7.tar.gz
- Upload date:
- Size: 1.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5c9191a6225e4b97611b522179060d0108caa9c015153403181f138413ff192c |
|
MD5 | 086ebafb3da91845c20c4efe038caf7d |
|
BLAKE2b-256 | 00a965381e8962a688e2ed79993ad5e9817026d3e455100e3cad43bf1e799f2d |
File details
Details for the file envRunner-0.1.7-py2.7.egg
.
File metadata
- Download URL: envRunner-0.1.7-py2.7.egg
- Upload date:
- Size: 2.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3bb5334e45e4d0f098d9722b291f1557958f8b229d2bd3afd9db29b48e1f3a75 |
|
MD5 | 52f70cd1d6a3aa60f42a006341f3bd29 |
|
BLAKE2b-256 | 2831ae248c42115d820276a47cbdfdd0ebf15fc0570adf581ca6102e920501ef |