cli/pkg/cmd
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
..
actions Mark actions command as non-runnable 2021-11-03 16:58:51 +01:00
alias Rename the module to "github.com/cli/cli/v2" 2021-08-25 12:41:30 +02:00
api Ignore EPIPE errors when writing to a closed pager 2022-02-10 16:42:00 +01:00
auth Fix authenticating git operations after auth login --with-token 2022-02-09 00:10:10 +01:00
browse Fix browse last commit when using the repo override flag (#4845) 2021-12-13 15:00:22 +01:00
codespace Add display name for codespaces (#5044) 2022-02-09 16:15:03 +01:00
completion Add FlagErrorf; encapsulate FlagError.error 2021-10-21 11:40:20 -04:00
config undo overzealous find/replace 2022-01-14 15:27:05 -06:00
extension Consistent punctuation in command usages (#5139) 2022-01-31 10:56:12 +00:00
factory Handle SAML enforcement challenge from the server (#5054) 2022-01-19 14:22:22 +01:00
gist Correctly handle Windows paths when creating gists 2022-02-06 23:21:20 +00:00
gpg-key Consistent punctuation in command usages (#5139) 2022-01-31 10:56:12 +00:00
issue Standardize pager output across commands (#5141) 2022-02-01 08:36:51 +01:00
pr Ignore EPIPE errors when writing to a closed pager 2022-02-10 16:42:00 +01:00
release Standardize pager output across commands (#5141) 2022-02-01 08:36:51 +01:00
repo Ignore EPIPE errors when writing to a closed pager 2022-02-10 16:42:00 +01:00
root Consistent punctuation in command usages (#5139) 2022-01-31 10:56:12 +00:00
run Standardize pager output across commands (#5141) 2022-02-01 08:36:51 +01:00
secret Standardize pager output across commands (#5141) 2022-02-01 08:36:51 +01:00
ssh-key Consistent punctuation in command usages (#5139) 2022-01-31 10:56:12 +00:00
version Rename the module to "github.com/cli/cli/v2" 2021-08-25 12:41:30 +02:00
workflow Standardize pager output across commands (#5141) 2022-02-01 08:36:51 +01:00