We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent caf26e4 commit b8edb9fCopy full SHA for b8edb9f
command/pr.go
@@ -296,9 +296,12 @@ func prView(cmd *cobra.Command, args []string) error {
296
}
297
298
func printPrPreview(out io.Writer, pr *api.PullRequest) error {
299
+ prStateColorFunc := colorFuncForPR(*pr)
300
+
301
fmt.Fprintln(out, utils.Bold(pr.Title))
302
+ fmt.Fprintf(out, "%s", prStateColorFunc(pr.State))
303
fmt.Fprintln(out, utils.Gray(fmt.Sprintf(
- "%s wants to merge %s into %s from %s",
304
+ " • %s wants to merge %s into %s from %s",
305
pr.Author.Login,
306
utils.Pluralize(pr.Commits.TotalCount, "commit"),
307
pr.BaseRefName,
0 commit comments