Skip to main content

runs commands with env stored in dotfile

Project description

runs commands with env stored in dotfile

usage:

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.

Files for denv, version 1.1.0
Filename, size File type Python version Upload date Hashes
Filename, size denv-1.1.0.tar.gz (1.7 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 Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page