From c9dbec730cf18c5175a38c84b78443c204a0206f Mon Sep 17 00:00:00 2001 From: Sebastian Kuzminsky Date: Sun, 20 Jul 2025 00:04:11 -0600 Subject: [PATCH] `ent show`: show tags, if any --- src/bin/ent/main.rs | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/bin/ent/main.rs b/src/bin/ent/main.rs index c9327e1..13550db 100644 --- a/src/bin/ent/main.rs +++ b/src/bin/ent/main.rs @@ -290,6 +290,15 @@ fn handle_command( }; println!("issue {}", issue_id); println!("author: {}", issue.author); + if issue.tags.len() > 0 { + print!("tags: "); + let mut separator = ""; + for tag in &issue.tags { + print!("{}{}", separator, tag); + separator = ", "; + } + println!(""); + } println!("creation_time: {}", issue.creation_time); if let Some(done_time) = &issue.done_time { println!("done_time: {}", done_time);