Skip to main content

Simple dotenv CLI.

Project description

# dotenv CLI

Dotenv-CLI is a simple package that provides the dotenv command. It reads the .env file from the current directory puts the contents in the environment and executes the given command.

dotenv supports alternative .env files like .env.development via the -e or –dotenv parametes.

dotenv provides bash completion, so you can use dotenv like this:

`bash $ dotenv make <TAB> all clean docs lint release test `

## Usage

Just prepend the command you want to run with the extra environment variables from the .env file with dotenv:

`bash $ dotenv some-command `

## Install

### Using PyPi

`bash $ pip install dotenv-cli `

### On Debian and Ubuntu

`bash # apt-get install python3-dotenv-cli `

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

dotenv-cli-1.1.0.tar.gz (3.3 kB view hashes)

Uploaded Source

Built Distribution

dotenv_cli-1.1.0-py3-none-any.whl (4.4 kB view hashes)

Uploaded Python 3

Supported by

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