Commit graph

200 commits

Author SHA1 Message Date
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
nate smith
9000548b1c remove project in favor of ghr 2019-10-10 17:08:04 -05:00
nate smith
1737f1685b remove more dead code 2019-10-10 17:06:06 -05:00
nate smith
81218a0c7d remove some dead code 2019-10-10 16:06:40 -05:00
nate smith
09d58b923d add GitHubRepository 2019-10-10 16:02:23 -05:00
nate smith
6e6b18c50a move more stuff into context.go 2019-10-10 15:43:25 -05:00
nate smith
df074046ac add context.go and move over getToken 2019-10-10 15:39:39 -05:00
nate smith
2389b142f7 Merge remote-tracking branch 'origin/graphql' into ghr-context 2019-10-10 14:16:48 -05:00
Corey Johnson
ddb49557d8 Use the correct variable name :) 2019-10-09 15:42:57 -07:00
Corey Johnson
0f6daa0310 Don't panic 2019-10-09 15:32:41 -07:00
Corey Johnson
3a931ea83e spacing 2019-10-09 13:15:08 -07:00
Corey Johnson
a35441cb69 Add version 2019-10-09 13:15:03 -07:00
Corey Johnson
7a839c6d39 Merge pull request #5 from github/user-agent
Identify as "GitHub CLI" to API requests
2019-10-09 13:13:26 -07:00
Corey Johnson
80dc17778e Use correct package name 2019-10-09 11:54:37 -07:00
Corey Johnson
b7dda5ef25 tweaks 2019-10-09 11:39:26 -07:00
Corey Johnson
8b69ca3919 Rename package to api 2019-10-09 11:34:35 -07:00
Corey Johnson
bcf3eb75c8 Add debug output 2019-10-09 10:23:47 -07:00
Corey Johnson
212df1725d Pull out queries 2019-10-08 16:40:10 -07:00
Corey Johnson
4d35b2a5bd Add simple graphql function 2019-10-08 12:04:58 -07:00
Mislav Marohnić
e05889d9f1 Identify as "GitHub CLI" to API requests 2019-10-08 13:25:49 +02:00
Mislav Marohnić
e867322ec4 Add Makefile 2019-10-07 16:58:29 +02:00
Mislav Marohnić
3947f7b865 Add VS Code settings 2019-10-07 16:36:23 +02:00
Mislav Marohnić
ce0e1d7e35 Remove unused functionality from 'project' 2019-10-07 16:34:52 +02:00
Mislav Marohnić
01162c953e Remove unnecessary functionality from HTTP client 2019-10-07 16:22:53 +02:00
Mislav Marohnić
9939e970fc Cleanup of unnecessary functionality in 'git' 2019-10-07 16:02:19 +02:00
Mislav Marohnić
c67f315164 go mod tidy 2019-10-04 10:50:45 +02:00
Mislav Marohnić
adf5a832fe Rename to "github/gh-cli" 2019-10-04 10:50:12 +02:00
Mislav Marohnić
bbe16fe939 Update README.md 2019-10-04 09:40:11 +02:00
Mislav Marohnić
334b1ae9fe Add CI 2019-10-04 09:10:17 +02:00
nate smith
8dd03144ff initial commit 2019-10-03 22:20:31 -05:00