Add gh issue list and gh issue view ISSUE_NUMBER

This commit is contained in:
Corey Johnson 2019-10-31 11:02:27 -07:00 committed by Mislav Marohnić
parent d658a8f407
commit aea7ae8efd
8 changed files with 303 additions and 39 deletions

36
test/fixtures/issueView.json vendored Normal file
View file

@ -0,0 +1,36 @@
{
"data": {
"repository": {
"issues": {
"edges": [
{
"node": {
"number": 8,
"title": "rabbits eat carrots",
"url": "https://github.com/github/gh-cli/pull/10"
}
},
{
"node": {
"number": 9,
"title": "corey thinks squash tastes bad"
}
},
{
"node": {
"number": 10,
"title": "broccoli is a superfood"
}
},
{
"node": {
"number": 11,
"title": "swiss chard is neutral"
}
}
]
}
},
"pageInfo": { "hasNextPage": false }
}
}