ulrikstrid / reenv

dotenv-cli implementation in native ReasonML providing near-instant startup times
MIT License
65 stars 3 forks source link

Have dotenv-safe functionality #3

Closed fakenickels closed 5 years ago

fakenickels commented 5 years ago

dotenv has a cousin called https://npmjs.com/package/dotenv-safe where you need to provide also a .env.example so it can check against that file and check if any declared var is missing

fakenickels commented 5 years ago

Just leaving the discussion here if you are interested in implementing this in reenv! Btw great tool 👏I was really looking for something like this implemented in native Reason

ulrikstrid commented 5 years ago

Seems like nice functionality to have, maybe could implement it under a flag --safe .env.example?

fakenickels commented 5 years ago

Looks really good for me

ulrikstrid commented 5 years ago

I have now added cmdliner and changed my internal representation so this should be pretty easy to add. Hopefully I can find some time the next couple of days.