allan2 / dotenvy

A well-maintained fork of the Rust dotenv crate
MIT License
625 stars 39 forks source link

create example from-path #69

Closed kolserdav closed 5 months ago

kolserdav commented 1 year ago

Method from_path is relevant when the .env file is located in a directory lower in the hierarchy from CWD. An example of using from_path will not be superfluous.

allan2 commented 5 months ago

I feel like the from_path doc already explains its purpose, regardless of where the .env file actually is.

If it is still unclear, please reopen the issue.