@forivall/dotenv-cli
v1.0.0
Published
A global executable to run applications with the ENV variables loaded by dotenv
Downloads
3
Readme
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>