simpler repo context
This commit is contained in:
parent
86cb09fe84
commit
d81cf009f5
2 changed files with 8 additions and 0 deletions
|
|
@ -175,6 +175,10 @@ func issueStatus(cmd *cobra.Command, args []string) error {
|
|||
|
||||
out := colorableOut(cmd)
|
||||
|
||||
fmt.Fprint(out, utils.Gray("Relevant issues in "))
|
||||
fmt.Fprint(out, utils.Cyan(ghrepo.FullName(baseRepo)))
|
||||
fmt.Fprintln(out, "")
|
||||
|
||||
printHeader(out, "Issues assigned to you")
|
||||
if issuePayload.Assigned.TotalCount > 0 {
|
||||
printIssues(out, " ", issuePayload.Assigned.TotalCount, issuePayload.Assigned.Issues)
|
||||
|
|
|
|||
|
|
@ -104,6 +104,10 @@ func prStatus(cmd *cobra.Command, args []string) error {
|
|||
|
||||
out := colorableOut(cmd)
|
||||
|
||||
fmt.Fprint(out, utils.Gray("Relevant pull requests in "))
|
||||
fmt.Fprint(out, utils.Cyan(ghrepo.FullName(baseRepo)))
|
||||
fmt.Fprintln(out, "")
|
||||
|
||||
printHeader(out, "Current branch")
|
||||
if prPayload.CurrentPR != nil {
|
||||
printPrs(out, 0, *prPayload.CurrentPR)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue