Skip to content

Comment on We Are Forking dotenvy into dotenv-ngparent

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!

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.