Commit graph

11279 commits

Author SHA1 Message Date
Mislav Marohnić
b4f1dd86c1
Merge pull request #1507 from cli/period-drama
Remove period from gh alias --help's output
2020-08-10 12:51:03 +02:00
Rimaz Khan
9595600a43 allow erroring for protected branch delete failures 2020-08-09 11:59:17 -04:00
Rimaz Khan
2a6e25f972 remove bool from prClose help doc 2020-08-09 11:54:25 -04:00
Lee Reilly
cee93b08f0 Remove period from command description for consistency 2020-08-08 17:13:28 -07:00
Mislav Marohnić
3c55b29446 🔥 colorableOut 2020-08-07 17:02:24 +02:00
Mislav Marohnić
7f6d687629 Isolate config command 2020-08-07 16:59:23 +02:00
Mislav Marohnić
d933cd91d4 Migrate completion command 2020-08-07 15:22:49 +02:00
Mislav Marohnić
dbbf76df10 Cleanup in context 2020-08-07 14:51:48 +02:00
Mislav Marohnić
47cef736f4 Fix GH_REPO override 2020-08-07 14:47:58 +02:00
Mislav Marohnić
aef1a4ba4d Extract root command and factory logic into separate packages 2020-08-07 14:40:33 +02:00
Martín Montes
27765f9987 Generalize REST error parsing 2020-08-07 14:22:20 +02:00
Mislav Marohnić
5e24e0d9b9 🔥 unused legacy helpers 2020-08-07 00:48:50 +02:00
Mislav Marohnić
34cc84c1e0 Provide consistent factory functions for top-level commands 2020-08-07 00:45:45 +02:00
Mislav Marohnić
c00fe73d5a Isolate issue commands 2020-08-07 00:27:55 +02:00
Nate Smith
7f5aad56cb
Merge pull request #1491 from cli/auth-logout
auth logout
2020-08-06 15:44:45 -05:00
Mislav Marohnić
20e30453d3 Fix tests that rely on stubbed table printer output 2020-08-06 21:45:16 +02:00
Mislav Marohnić
6490d7717c Fix --repo override taking effect for pr commands 2020-08-06 21:39:46 +02:00
Mislav Marohnić
5404fb2362 Wrap up migrating all pr commands 2020-08-06 21:21:35 +02:00
vilmibm
9da7539500 gh auth logout 2020-08-06 12:50:01 -05:00
vilmibm
da33b65d32 remove vestigial httpclient struct member 2020-08-06 12:50:01 -05:00
vilmibm
2e7511cd18 add helpers to config type for hosts 2020-08-06 12:50:01 -05:00
Nate Smith
813ac79f29
Merge pull request #1445 from cli/auth-cmd
gh auth login
2020-08-06 12:48:18 -05:00
vilmibm
35f18b6c02 gh auth login 2020-08-06 12:43:35 -05:00
ShubhankarKG
43ace4dc54 Fix tests failing after merging trunk 2020-08-06 12:20:39 +05:30
ShubhankarKG
01bcdbc8a1 Merge branch 'trunk' into newConfirmations 2020-08-06 11:50:46 +05:30
ShubhankarKG
d3a44f827f Permit -y flag to create local directory as well 2020-08-06 11:47:24 +05:30
ShubhankarKG
011f30977a 1. Add three visibility tags - public, private, internal, one of which meeds to be passed.
2. Interactive repo create when no parameters are passed, i.e `repo create`.
3. Fix tests.

TODO : write a repo in the form of user/repository format when no user is supplied.
2020-08-06 11:33:04 +05:30
Francisco Miamoto
83d80e6a09 add test for milestone not found 2020-08-05 21:12:03 -03:00
Francisco Miamoto
bbce1ba755 add check for milestone not found 2020-08-05 20:49:01 -03:00
Mislav Marohnić
b4ffced654
Merge pull request #1453 from cli/pr-commands-isolate
Isolate pr review, diff, checkout commands
2020-08-04 18:47:06 +02:00
Mislav Marohnić
82661c197e Isolate pr list command 2020-08-04 18:38:06 +02:00
Mislav Marohnić
558e3f3dea Isolate pr create command 2020-08-04 18:29:42 +02:00
Mislav Marohnić
c8b4238ec1
Merge pull request #1470 from cli/brew-bump-formula
Align `bump-homebrew-formula` config for updated formula format
2020-08-04 17:30:56 +02:00
ShubhankarKG
4b64a46891 Add confirmation for risky step for repo create 2020-08-04 19:24:35 +05:30
Mislav Marohnić
e024184c6f Fix pr merge test 2020-08-04 15:13:36 +02:00
Mislav Marohnić
d774a6a35f Merge branch 'pr-commands-isolate' into pr-commands-isolate-2 2020-08-04 15:13:33 +02:00
Mislav Marohnić
8cba134f5d Fix pr checkout test 2020-08-04 15:10:44 +02:00
Mislav Marohnić
a73584db72 Merge remote-tracking branch 'origin' into pr-commands-isolate 2020-08-04 15:01:30 +02:00
Mislav Marohnić
2ab06ab4d6
Merge pull request #1415 from cli/ghe-api
Add GHE compatibility to the API adapter
2020-08-03 17:19:20 +02:00
wilso199
267400a3a5 Cleaning up formatting errors and updating test to use named api call 2020-08-02 22:37:47 -04:00
wilso199
4250906c82 Adding test to ensure submodule commands are executed 2020-08-02 22:17:42 -04:00
wilso199
7b98e27de3 Adding logic and documentation for a recurse submodules flag 2020-08-02 22:17:42 -04:00
Francisco Miamoto
0faf52d759 change comment to refer to pr 2020-08-01 23:56:12 -03:00
Francisco Miamoto
3caa7cc537 improve comments 2020-08-01 23:54:22 -03:00
Francisco Miamoto
f9b50acc42 add mock for milestones on issue list 2020-08-01 23:45:21 -03:00
Francisco Miamoto
9a5e69a8a4 use graphql for repo milestones on issue list
Since we can obtain the necessary ID for the query on
node ID from the GraphQL API, it makes sense to remove
the REST version.
2020-08-01 23:43:36 -03:00
Rimaz Khan
d67dfdb99b Add delete branch flag to pr close 2020-08-01 14:49:16 -04:00
Shi Han NG
d24f33b679
Add Test_RepoClone_flagError 2020-08-01 19:23:28 +09:00
Shi Han NG
6e844fef87
Mention git clone flags in gh repo clone usage 2020-08-01 19:09:29 +09:00
Shi Han NG
ca8d032824
Add custom error for gh repo clone 2020-08-01 19:07:51 +09:00