Repository navigation
Is there a way to read STDIN in Pkl commands? #1913
Unanswered
EnzoAlbornoz
asked this question in
Q&A
Replies: 1 comment 2 replies
|
Have you considered passing this in as an external property? Then, on the Pkl side, you'd read this in using mySecret = read("prop:MY_SECRET") |
2 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.
Currently, there are some ways to pass parameters to Pkl commands:
But when dealing with secrets in scripts, we need a secure way to pass them. We usually manage this by passing secrets via the stdin stream. However, in Windows, there is no
/dev/stdinfile to read from.How do you guys deal with this? Is this a pain point for you too?
My initial thought is that Pkl is missing this feature.
All reactions