Commit graph

3914 commits

Author SHA1 Message Date
vilmibm
1edff18ad4 s/private/secret 2020-09-14 10:38:35 -05:00
vilmibm
269adab75a improve list output 2020-09-14 10:33:29 -05:00
vilmibm
02d94d6f93 hmm 2020-09-14 10:33:29 -05:00
vilmibm
dc345a9f73 support --web for gist view 2020-09-14 10:33:29 -05:00
vilmibm
0d3056d9a7 gh gist edit 2020-09-14 10:33:29 -05:00
vilmibm
39b6ec8aec share gist getting 2020-09-14 10:33:29 -05:00
vilmibm
b6502deb24 allow naming stdin gist files 2020-09-14 10:33:29 -05:00
vilmibm
f3b4493448 print aliases as valid yaml when piping 2020-09-14 10:33:29 -05:00
vilmibm
b17124157c start on gist view 2020-09-14 10:33:29 -05:00
vilmibm
f7c4a0cf3f gh gist list 2020-09-14 10:33:29 -05:00
vilmibm
68a019cc3c review feedback 2020-09-14 10:16:50 -05:00
Mislav Marohnić
76181156ba Prevent endless recursive pager
Unset PAGER environment variable when executing the command referenced
in PAGER in case that command also has support for PAGER and would end
up executing itself indefinitely.
2020-09-14 16:49:30 +02:00
Mislav Marohnić
3c32507a13 Consistent use of quotes to delineate commands to be run 2020-09-14 16:26:23 +02:00
Mislav Marohnić
aa72463114 Extract environment as a separate help topic
Co-authored-by: Sam Coe <samcoe@github.com>
2020-09-14 16:25:30 +02:00
Mislav Marohnić
662f83fcb9 Fix release download
Only ever try to set an `Authorization` request header to hosts that we
have OAuth credentials for; skip the header otherwise.
2020-09-14 15:31:31 +02:00
Mislav Marohnić
6ad6784c46 Ignore EPIPE when forwarding pr diff output to pager 2020-09-14 15:30:10 +02:00
Mislav Marohnić
b2e7f0c1e2 Merge remote-tracking branch 'origin' into pager-for-everyone 2020-09-14 14:18:42 +02:00
Sam
b34fe8123a
Merge pull request #1677 from cli/fix-issue-list-emoji-bug
Fix issue listing misalignment
2020-09-12 19:07:56 +02:00
vilmibm
2345f49ccb support auth login --web 2020-09-11 13:07:39 -05:00
Nate Smith
5a8df475b9
Merge pull request #1639 from cli/disable-prompts
Support "prompt" config setting
2020-09-11 12:07:44 -05:00
vilmibm
a811e72c9d do not assume public when creating repo non-interactively 2020-09-11 11:57:40 -05:00
vilmibm
3a492b892a Merge branch 'disable-prompts' of github.com:cli/cli into disable-prompts 2020-09-11 11:42:20 -05:00
vilmibm
1073c97409 review feedback 2020-09-11 11:36:24 -05:00
Sam Coe
e5466c0411 Improve string display width calculation 2020-09-11 11:56:54 +02:00
vilmibm
4d3e26e927 prompts disabled test for auth refresh
the behavior for nontty vs. prompts disabled is pretty different so i
opted for a new test, here
2020-09-10 13:19:43 -05:00
vilmibm
c0fc31f7d5 use CanPrompt in commands 2020-09-10 12:13:48 -05:00
vilmibm
fcc0e75a50 do not pass entire config to iostreams 2020-09-10 12:13:48 -05:00
vilmibm
15bfb5447b split auth flow code into new internal package 2020-09-10 12:13:48 -05:00
vilmibm
ecd1b34b39 Add prompt config setting and support in CanPrompt 2020-09-10 12:13:48 -05:00
vilmibm
5119d21137 support Config in IOStreams 2020-09-10 12:12:47 -05:00
Sam Coe
e50833cae0 Do not html escape repo view output 2020-09-10 15:25:17 +02:00
Nate Smith
33e11f02e4
Merge pull request #1611 from dhleong/dhleong/pr-prepend-commit-bodies
Prepend PR body defaults to the selected template (if any)
2020-09-09 16:57:27 -05:00
Mislav Marohnić
50d5813182 Indicate that title is optional in release create 2020-09-09 17:45:55 +02:00
Mislav Marohnić
9040f6adc6 Fix view tests 2020-09-09 17:40:04 +02:00
Mislav Marohnić
1ce61d4b80 Allow specifying multiple patterns in release download 2020-09-09 17:36:49 +02:00
Mislav Marohnić
7614ffee30 Add docs to release create/upload 2020-09-09 17:36:25 +02:00
Mislav Marohnić
202d11146d Add success message to release upload 2020-09-09 17:09:49 +02:00
Mislav Marohnić
fda9659e4a Consistently print browsed URL across commands 2020-09-09 17:02:02 +02:00
Mislav Marohnić
3d58fa785f Add the release view --web flag 2020-09-09 17:01:29 +02:00
Mislav Marohnić
ad0bbde351 Merge remote-tracking branch 'origin' into release-cmd 2020-09-09 15:27:49 +02:00
Daniel Leong
c7e702203b Update template test to reflect inclusion of "default" text
Also, avoid excessive amounts of newlines separating the two
2020-09-08 20:25:52 -04:00
Daniel Leong
41543b564d "Check" the error value of ioutil.WriteFile
We could, alternatively, use t.Fatal... this matches the MkdirAll
invocation from github_template_test, however...
2020-09-08 20:12:28 -04:00
Daniel Leong
a33124414c Add a test to verify the behavior of prepending commit body to message 2020-09-08 20:12:28 -04:00
Daniel Leong
c4227455e3 Prepend PR body defaults to the selected template (if any)
See #1570
2020-09-08 20:12:28 -04:00
Nate Smith
74614b13da
Merge pull request #1627 from giacomoalbe/add-commit-headline-to-pr-merge
Add PR Title to CommitHeadline during merge PR
2020-09-08 17:05:26 -05:00
Nate Smith
c2d7cbf51f
Merge pull request #1582 from AliabbasMerchant/interactiveCreationTests
Interactive template selection test for issue create
2020-09-08 16:55:04 -05:00
Nate Smith
ab2c38eb82
Merge pull request #1563 from cli/checks
gh pr checks
2020-09-08 15:58:38 -05:00
Mislav Marohnić
72e9747662
Merge pull request #1626 from cli/ghe-auth-tweaks
Make GitHub remote parsing and authentication stricter
2020-09-08 10:14:29 +02:00
Mislav Marohnić
d77a8c2e61 Scope pr merge commit headline to only squash method 2020-09-07 22:27:27 +02:00
Mislav Marohnić
fae66a62e4 Fix measuring terminal width for output 2020-09-07 22:03:54 +02:00