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.

## 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.0.2.tar.gz (2.7 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.0.2-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for dotenv-cli-1.0.2.tar.gz
Algorithm Hash digest
SHA256 c5a61d3f92105c24323753064df950a6a9c36667be046517956c739d7e055df5
MD5 040ef88445dee6cb33b02802ffb71b03
BLAKE2b-256 b2946b351193aaf8825e7493190a60ab69a822b12e7574b09604b47abdf7d788

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for dotenv_cli-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 aa38d2873df79dd4f7bff252cc2832702155792702cbe9a4cb86c7da6dbeeafd
MD5 2ab8827d45102916ffa2c1f390ca7482
BLAKE2b-256 307ab80daba70f3e5c239f3fcd8797cdcc6250b4dffa07ce0b1f2b23e4e49797

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