hasura / graphqurl

curl for GraphQL with autocomplete, subscriptions and GraphiQL. Also a dead-simple universal javascript GraphQL client.
Apache License 2.0
3.34k stars 101 forks source link

`gq -v key=value` does not accept '=' in the value. #134

Open ppdx999 opened 1 year ago

ppdx999 commented 1 year ago

Thank you for developing this library. I'm grateful for your work.

When I run the command gq ${endpoint} -q {query} -v "key=YmFzZTY0IGVuY29kZWQ=", it fails with the following error:

Error: cannot parse variable 'key=YmFzZTY0IGVuY29kZWQ= (multiple '=')'

I'm pleased that I can pass a base64-encoded value using the 'v' option.