cli/pkg
Mislav Marohnić d57b5171cf Print HTTP errors on stderr in api command
Most API errors are present in the response body itself, which will be
sent to stdout normally, but if stdout is redirected somewhere (as it's
common with scripts), failed HTTP requests will likely sabotage the rest
of the script, but no useful info will be shown on stderr.

This makes it so all REST and GraphQL errors are always shown on stderr.
Additionally, this makes sure that the command exits with a nonzero
status on any GraphQL errors.
2020-06-05 18:24:24 +02:00
..
browser Extract web browser launching to a package 2020-01-29 11:49:38 +01:00
cmd/api Print HTTP errors on stderr in api command 2020-06-05 18:24:24 +02:00
cmdutil Make NewCmdApi testable 2020-05-20 15:21:35 +02:00
githubtemplate Fix parsing some issue template names 2020-05-07 15:50:01 +02:00
httpmock Faster resolve GraphQL node IDs for assignees, reviewers, and labels 2020-05-12 15:33:51 +02:00
iostreams Display JSON in indented, colored format in api output 2020-06-05 17:43:07 +02:00
jsoncolor Display JSON in indented, colored format in api output 2020-06-05 17:43:07 +02:00
surveyext review feedback 2020-05-11 17:06:18 -05:00
text Code fixes informed by golangci-lint failures (#738) 2020-04-03 16:33:34 +02:00