Skip to content

FulecoRafa/load-env

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Load Env

Simple cli tool to load env files. So you don't dotenv.load() in your app 😉

Instalation

  1. Clone the repository
    git clone https://github.com/fulecorafa/load-env
    cd load-env
  2. Install
    make install
    Makefile is very simple, installation changes may be added there.

Usage

Invoke load-env with paths to env files, follow by -- and the command to be run. Remember that operations like cmd > file.out need to be quoted or the output of load-env itself will be captured.

Pass --confirm to preview command before runnning.

# 
> load-env .env -- python3 ./my_script_that_uses_env.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published