Comment on We Are Forking dotenvy into dotenv-ngparentComments−cbarrick25dThat shell snippet will expand shell variables in double-quote strings. And apparently the entire reason for this fork is to not do that.Which is dumb. The canonical spec for .env should just be "whatever POSIX sh does."−dolni24dAgree, not expanding is dumb.One of the major benefits of a shell-based approach is your env vars could be generated from the output of a command.Which can be trivially used to populate secrets from whatever your secret store of choice is.Now we've also cleanly solved secret distribution for developers with one less dependency!
Comments
That shell snippet will expand shell variables in double-quote strings. And apparently the entire reason for this fork is to not do that.
Which is dumb. The canonical spec for .env should just be "whatever POSIX sh does."
Agree, not expanding is dumb.
One of the major benefits of a shell-based approach is your env vars could be generated from the output of a command.
Which can be trivially used to populate secrets from whatever your secret store of choice is.
Now we've also cleanly solved secret distribution for developers with one less dependency!