cli/pkg
Mislav Marohnić 0a5e220231 Ignore EPIPE errors when writing to a closed pager
While a gh command is writing stdout to a pager, the user may choose to
close the pager program before the pager has read all the data on its
standard input. In that case, the parent gh process will receive an
EPIPE error, which would bubble up its error handling and cause it to
print something like:

    write |1: broken pipe

Since this was caused by an explicit user action of closing the pager,
and since the user probably doesn't want to see this uninformative
error, this informs our global error handling of this error and causes
it to be ignored.
2022-02-10 16:42:00 +01:00
..
cmd Ignore EPIPE errors when writing to a closed pager 2022-02-10 16:42:00 +01:00
cmdutil Refactor factory.Executable() to be a method rather than a func 2021-12-21 13:50:55 +01:00
export Rename the module to "github.com/cli/cli/v2" 2021-08-25 12:41:30 +02:00
extensions binary extension create 2021-11-23 16:53:45 -06:00
findsh go fmt 2021-12-02 16:12:24 +01:00
githubsearch Convert bool to string early for pr list draft flag 2021-09-20 11:29:37 -07:00
githubtemplate Use T.TempDir for temporary dirs in tests (#3580) 2021-05-07 12:21:26 +02:00
httpmock Adding gh release download for .zip and .tar.gz 2021-11-30 15:52:51 +01:00
iostreams Ignore EPIPE errors when writing to a closed pager 2022-02-10 16:42:00 +01:00
jsoncolor Fix "null" display in colored JSON output 2021-05-12 16:56:52 +02:00
liveshare Fix flaky liveshare session test (#5111) 2022-01-27 11:20:50 -05:00
markdown Preserve newlines in GitHub-flavored markdown 2022-01-13 19:41:01 +01:00
prompt Have NewAskStubber perform auto-cleanup 2022-01-14 18:52:00 +01:00
set Add GH_HOST to hosts list if it has corresponding auth token (#5087) 2022-01-29 07:37:24 +00:00
surveyext Add --generate-notes flag to gh release create command. (#4467) 2021-12-08 15:20:59 +04:00
text Add helper template functions for rendering tables (#3519) 2021-08-23 21:00:25 +02:00