mirror of
https://github.com/toddbluhm/env-cmd.git
synced 2025-12-08 18:23:33 +00:00
Add clarification around using the new custom env file path usage
This commit is contained in:
parent
af9686b7a0
commit
a7bba44079
@ -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
|
||||
```
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user