Skip to content

EvertEt/dotenv-cli

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dotenv-cli

Installing

$ npm install -g dotenv-cli

Usage

$ dotenv <command with arguments>

This will load the variables from the .env file in the current working directory and then run the command (using the new set of environment variables)

Another .env file could be specified using the -e flag:

$ dotenv -e .env2 <command with arguments>

If you want to check the value of an environment variable, use the -p argument

$ dotenv -p NODE_ENV

License

MIT

About

A cli to load dotenv files

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%