gen-env-types icon indicating copy to clipboard operation
gen-env-types copied to clipboard

Optional requiring env var to exist

Open Distortedlogic opened this issue 4 years ago • 2 comments

Currently I have some variables in my local dev env that I do not use in prod. Currently I manually change after running gen-env-types, If there was a way to set whether or not the requirement that a variable exist on a variable by variable basis, thatd be pretty sweet.

Distortedlogic avatar Nov 09 '20 13:11 Distortedlogic

Do you have an example input and expected output? Having a hard time understanding

daniellwdb avatar Mar 05 '21 21:03 daniellwdb

If I understood correctly, I believe my PR addresses your issue, feel free to take a look https://github.com/benawad/gen-env-types/pull/35

malinskibeniamin avatar Mar 11 '22 17:03 malinskibeniamin