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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

Details for the file dotenv-cli-1.1.0.tar.gz.

File metadata

  • Download URL: dotenv-cli-1.1.0.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Python-urllib/3.7

File hashes

Hashes for dotenv-cli-1.1.0.tar.gz
Algorithm Hash digest
SHA256 fbd2bc31309422a0a524356c40fc1a67700d6c8b21da3d95c522b6e8d4929a13
MD5 20cdd3c27e5f8513f7c1037f16cc5062
BLAKE2b-256 d58d74cc00836402942ce9f6f9fe875ef5bc610d5f075217f135eebfc61ed342

See more details on using hashes here.

File details

Details for the file dotenv_cli-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: dotenv_cli-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 4.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Python-urllib/3.7

File hashes

Hashes for dotenv_cli-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 497adf09cbc85a9fbc52e29ef94ce8e7ed97dcea44598559057e782ff9822cd8
MD5 abd687df9e815bbe805e21a93cce4682
BLAKE2b-256 3d6406a4d510c05ad71cb17b0287ecef8d1cff6a4911f26f7a8664f7809b9cf6

See more details on using hashes here.

Supported by

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