zio-config icon indicating copy to clipboard operation
zio-config copied to clipboard

Reading a specific value

Open gipeshka opened this issue 2 years ago • 0 comments

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?

gipeshka avatar Dec 15 '22 15:12 gipeshka