cli/pkg/cmd
Mislav Marohnić 7033021637 gh api: fix passing file/stdin contents via field arguments
Reading from file via `-F foo=@myfile.txt` syntax would result in
`[]byte` Go type, which by default gets serialized to JSON in base64
format, which we don't want here.

Traverse all parameters and convert any `[]byte` into `string` before
JSON serialization.
2020-06-03 16:00:52 +02:00
..
api gh api: fix passing file/stdin contents via field arguments 2020-06-03 16:00:52 +02:00