Skip to content

Commit

Permalink
document loading order of multiple .envs
Browse files Browse the repository at this point in the history
  • Loading branch information
duarte-pompeu committed Dec 28, 2023
1 parent 46f1b75 commit 363aab5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,7 @@ $ dotenv run -- python foo.py
```

The CLI interface also supports reading from multiple `.env` files.
Each file overrides the previous: if there are duplicate keys, the last file determines the final value.

```shell
$ echo -e "a=1\nb=2\n" > .env1
Expand Down

0 comments on commit 363aab5

Please sign in to comment.