zio-config
zio-config copied to clipboard
Reading a specific value
Hi all.
I'm facing a particular issue with Caliban now, that uses ZIO config to parse the params of the Client-generating command here.
I execute a command like:
calibanGenClient https://remote/url /path/to/generated/client --headers "Authorization:Bearer SecretValue="
The issue arises when there's a =
sign in the value, it's not able to parse the thing.
If i apply it with --headers="Authorization:Bearer SecretValue="
the parsed value includes "
s and it doesn't work again.
Thus the question is how can one pass both space and =
in a value in a command line?