pr list: indicate state by color, useful for -s all

This commit is contained in:
Mislav Marohnić 2019-11-06 18:48:41 +01:00
parent e3a11c8ffb
commit 9133ad9f87
2 changed files with 11 additions and 1 deletions

View file

@ -13,6 +13,7 @@ type PullRequestsPayload struct {
type PullRequest struct {
Number int
Title string
State string
URL string
HeadRefName string
}
@ -210,6 +211,7 @@ func PullRequestList(client *Client, vars map[string]interface{}, limit int) ([]
node {
number
title
state
url
headRefName
}