Commit graph

11279 commits

Author SHA1 Message Date
Mislav Marohnić
63f4026367 🔥 github package 2019-10-17 02:25:59 +02:00
Mislav Marohnić
a8aa5feb02 Test remote parsing 2019-10-17 02:25:59 +02:00
Mislav Marohnić
8016d80884 Create overridable Context interface 2019-10-17 02:25:59 +02:00
Mislav Marohnić
12e295e46b Merge remote-tracking branch 'origin/master' into ghr-context 2019-10-17 02:23:00 +02:00
Mislav Marohnić
b48c71a125 rm accidentally checked-in binary 2019-10-17 02:14:36 +02:00
Corey Johnson
32c9cb9892 Great work corey 2019-10-16 16:28:56 -07:00
Corey Johnson
b69dff172c Remove caching
I removed this because it was making tests fail!
2019-10-16 16:26:32 -07:00
Corey Johnson
9e97712956 Add fixture 2019-10-16 16:26:13 -07:00
Corey Johnson
5a10f2350f Don't treat no active PR as an error 2019-10-16 16:26:05 -07:00
Corey Johnson
19d02404cd Add PRView test 2019-10-16 16:25:51 -07:00
Corey Johnson
a8b7e4c5f3 Add PRView tests 2019-10-16 14:47:47 -07:00
Corey Johnson
9704bb55b1 Merge pull request #24 from github/add-pr-show
Add `gh pr view`
2019-10-16 14:08:43 -07:00
Corey Johnson
9fe04dc033 Merge remote-tracking branch 'origin/master' into add-pr-show 2019-10-16 12:48:12 -07:00
Corey Johnson
354529b2df Add some output 2019-10-16 12:39:51 -07:00
Corey Johnson
7e2f1c7d77 Merge pull request #22 from github/style-pr-list
Style `gh pr list`
2019-10-16 12:16:14 -07:00
Corey Johnson
0e18bb6492 Merge pull request #14 from github/test
Add test for `gh pr list`
2019-10-16 11:28:08 -07:00
Corey Johnson
13308ddc71 less colon 2019-10-16 11:04:45 -07:00
Corey Johnson
b31f42180c Use the entire fixture path 2019-10-16 10:59:28 -07:00
Corey Johnson
59cb247f08 Remove command.test 2019-10-16 10:00:32 -07:00
Corey Johnson
8ad1afe224 Update command/pr.go
Co-Authored-By: Mislav Marohnić <mislav@github.com>
2019-10-16 09:38:33 -07:00
Corey Johnson
f16d95e8cd small tweaks 2019-10-15 15:31:32 -07:00
Corey Johnson
ef61b49575 A nice error 2019-10-15 15:01:01 -07:00
Corey Johnson
9c218075fb Add bold 2019-10-15 14:55:15 -07:00
Corey Johnson
cff76fbc22 Use gookit for colors 2019-10-15 14:51:33 -07:00
Corey Johnson
bb2876cf37 Merge branch 'master' into test 2019-10-15 14:21:34 -07:00
Corey Johnson
59ddb5607d Use func var to override GraphQL calls 2019-10-15 14:19:56 -07:00
nate smith
0600c8c68c switch to context struct 2019-10-15 13:36:38 -05:00
Corey Johnson
8d719999a1 Color brackets 2019-10-15 10:53:35 -07:00
Corey Johnson
2df7c2d86f Make show work 2019-10-14 20:08:57 -07:00
Corey Johnson
1ab5644d6d Add pr show command 2019-10-14 19:58:34 -07:00
Corey Johnson
b4d28f11b0 Style gh pr list 2019-10-14 14:21:15 -07:00
Corey Johnson
fb290313e3 We don't need those files 2019-10-14 11:29:04 -07:00
Corey Johnson
2a3315097c rename to helpers 2019-10-14 11:25:59 -07:00
Corey Johnson
893b2a63f6 Remove logging 2019-10-14 11:09:31 -07:00
Corey Johnson
2372044317 remove hub dep 2019-10-14 11:08:42 -07:00
Corey Johnson
f88b3bb7c5 Use fixture directory 2019-10-14 11:02:56 -07:00
Corey Johnson
ef1a8a80f1 Tests use temp git repo 2019-10-14 10:18:27 -07:00
nate smith
cccb6832c3 Revert "towards moving config into context"
This reverts commit 7427716ea8.
2019-10-14 11:02:04 -05:00
Corey Johnson
1009ad5598 Merge pull request #8 from github/graphql
Pull in the GraphQL API functionality
2019-10-11 14:45:39 -07:00
Corey Johnson
90b0a6c55a use spaces 2019-10-11 14:43:04 -07:00
Corey Johnson
ed4f59fe30 rename v to data 2019-10-11 14:37:28 -07:00
Corey Johnson
994e9eee10 Use RunE instead of panicking 2019-10-11 14:28:26 -07:00
Corey Johnson
2dc521d589 A non-successful response returns early 2019-10-11 14:23:46 -07:00
Corey Johnson
1303204b80 Clean some things up 2019-10-11 10:43:06 -07:00
Corey Johnson
5b28291762 Clean up tests 2019-10-11 10:07:40 -07:00
Corey Johnson
8a0e6f5d1d Add test for gh pr list 2019-10-11 09:50:18 -07:00
nate smith
6ef29819c7 towards moving config into context 2019-10-11 10:53:29 -05:00
Corey Johnson
9cb1230857 Trying to test the gh pr list 2019-10-10 16:36:36 -07:00
nate smith
b94b448f08 remove unused method 2019-10-10 17:53:53 -05:00
nate smith
d7ee9a0ade move remote to context package 2019-10-10 17:42:52 -05:00