Skip to main content

runs commands with env stored in dotfile

Project description

denv COMMAND [ARGS]

Expects a .env file in current directory of format:

KEY=VALUE
KEY=host=foo user=bar

Example

$ cat .env
CONNECTION_STRING=host=foo user=bar password=baz

$ denv env | grep CONNECTION_STRING
host=foo user=bar password=baz

Why?

so many dotenv repos exist out there but none of them (AFAIK) can read connection string formatted values like connection_string=host=foo user=bar password=baz.

So here is a very simple cli script to do just that! :-)

Project details


Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
denv-1.1.3.tar.gz (1.8 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page