simple dotenv CLI
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
dotenv_cli
tests pep8 Oct 14, 2018
.gitignore
.travis.yml Added travis config Oct 14, 2018
CHANGELOG.md bumped version Oct 14, 2018
LICENSE added license Oct 14, 2018
Makefile Added makefile Oct 14, 2018
README.md
setup.cfg added config Oct 14, 2018
setup.py added setup.py Oct 14, 2018

README.md

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:

$ dotenv some-command

Install

$ pip install dotenv-cli