Add clarification around using the new custom env file path usage

This commit is contained in:
Todd Bluhm 2019-05-10 13:04:51 -05:00
parent af9686b7a0
commit a7bba44079
No known key found for this signature in database
GPG Key ID: 9CF312607477B8AB

View File

@ -35,6 +35,13 @@ ENV3=THE FISH
./node_modules/.bin/env-cmd node index.js
```
## Using custom env file path
To use a custom env filename or path, pass the `-f` flag. This is a major breaking change from prior versions < 9.0.0
**Terminal**
```sh
./node_modules/.bin/env-cmd -f ./custom/path/.env node index.js
```
## 📜 Help
```