Set-PsEnv icon indicating copy to clipboard operation
Set-PsEnv copied to clipboard

Ability to specify path of .env file

Open iongion opened this issue 4 years ago • 2 comments

Hi,

It would be nice to have the ability to specify where to load .env file from and its name. This is to support multiple environments, such as for testing, production, staging

tests/.env.testing
.env <- This is on git
.env.override <- This is not on git
.env.staging <- This is on git
.env.staging.override <- This is not on git

What do you think ?

iongion avatar Sep 24 '21 06:09 iongion

That would definitely be useful.

Aankhen avatar Nov 21 '21 11:11 Aankhen

Agreed - this would be very helpful.

ravensorb avatar Jun 06 '22 11:06 ravensorb