Proposal
Add a new optional argument: examplePath that would set the path for the .env.example file. The current behavior would be the default if not provided.
My usecase
I'm using 2 separate envs for dev and prod: .env.development, and .env.production. I am dynamically loading the correct one. I'd like to make use of the safe option, but that means 2 .example files as currently the same filename as the env file is used. This defeats the purpose of the safe option, as nothing prevents those example files from diverging.
Proposal
Add a new optional argument:
examplePaththat would set the path for the.env.examplefile. The current behavior would be the default if not provided.My usecase
I'm using 2 separate envs for dev and prod:
.env.development, and.env.production. I am dynamically loading the correct one. I'd like to make use of thesafeoption, but that means 2.examplefiles as currently the same filename as the env file is used. This defeats the purpose of thesafeoption, as nothing prevents those example files from diverging.