Skip to main content

runs commands with env stored in dotfile

Project description

denv
####

usage:

.. code-block:: bash
denv COMMAND [ARGS]


Expects a `.env` file in current directory of format:

.. code-block:: bash
KEY=VALUE
KEY=host=foo user=bar


Example
-------

.. code-block:: bash

$ 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.

Source Distribution

denv-1.0.4.tar.gz (1.7 kB view details)

Uploaded Source

File details

Details for the file denv-1.0.4.tar.gz.

File metadata

  • Download URL: denv-1.0.4.tar.gz
  • Upload date:
  • Size: 1.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for denv-1.0.4.tar.gz
Algorithm Hash digest
SHA256 d2aff7fbf3f4953b3ee736b885a3e857eaf6ca0350f6f6a746cf4fa4fa3d66c2
MD5 e29141120350e687105ece05b6afc188
BLAKE2b-256 9f4758f24299108290df6a47538199ba88a2c9abe74cfa37ab9e4eac43c422c1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page