Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for envRunner, version 0.1.8
Filename, size File type Python version Upload date Hashes
Filename, size envRunner-0.1.8-py2.7.egg (2.4 kB) File type Egg Python version 2.7 Upload date Hashes View
Filename, size envRunner-0.1.8.tar.gz (1.9 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page