pr list: indicate state by color, useful for -s all
This commit is contained in:
parent
e3a11c8ffb
commit
9133ad9f87
2 changed files with 11 additions and 1 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue