Replies: 1 comment
-
Nevermind, I'm an idiot -- |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Great lib!
I'm trying to make it work with Cloudflare Workers, specifically
wrangler
.Wranglers needs to see values locally in
.dev.vars
or a.env
variant, to generate the appropriate types and inject into the runtime.The approach I've taken so far is:
.env.schema
that reads from a password wallet..env.local
.But... I can't find an obvious API for iterating over the schema values.
process.env
contains the entire env, and not the subset. There's a private__VARLOCK_ENV
, but that seems like an implementation detail.It would be great if there was an equivalent
varlock reveal >.env.local
or similar from the CLI.In the absence of that, is there a reliable way to iterate over the values and dump each of them to a file?
Beta Was this translation helpful? Give feedback.
All reactions