From 1f1a0423ead4a9324bfb25db5a2c72e960799f96 Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Thu, 23 Sep 2021 13:09:23 +0530 Subject: gnbug: Print keywords in issue listing. * gnbug (gnbug-list): Print keywords in issue listing. --- gnbug | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/gnbug b/gnbug index 3e138ba..c57f717 100755 --- a/gnbug +++ b/gnbug @@ -271,11 +271,18 @@ terminal." (issue-assigned issue)))))) (tlog (match-lambda* ((_ (index . issue)) - (format #t "~a ~a ~a ~a~a~%" + (format #t "~a ~a ~a ~a~a~a~%" (magenta (string-append "#" (number->string index))) (issue-created-relative-date issue) (cyan (issue-creator issue)) (issue-title issue) + (match (issue-keywords issue) + (() "") + (keywords + (blue + (string-append " [" + (string-join keywords ", ") + "]")))) (match (issue-assigned issue) (() "") (assignees -- cgit v1.2.3