summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordemo <demo@antix1>2026-05-29 11:34:48 -0400
committerdemo <demo@antix1>2026-05-29 11:34:48 -0400
commit84be938756a0a6163ff752b1e1547631d2f7a5b3 (patch)
tree29bf604a43ae342e0b393ab2829dc0f715f15ce3
parent3e2e7a93446329913b315eea5eca1a350c2769e0 (diff)
feat: finalize acceptable iteration of "UI"
-rw-r--r--cmds.go7
1 files changed, 6 insertions, 1 deletions
diff --git a/cmds.go b/cmds.go
index 8ea1eff..5791546 100644
--- a/cmds.go
+++ b/cmds.go
@@ -76,7 +76,12 @@ func (ctrl controller) cmdList() error {
return fmt.Errorf("can't unmarshal: %w", err)
}
- fmt.Printf("%d. %#v\n", index, tt)
+ status := "TODO"
+ if tt.Done {
+ status = "DONE"
+ }
+
+ fmt.Printf("%d. (%s) %s\n", index, status, tt.What)
return nil
})