From 84be938756a0a6163ff752b1e1547631d2f7a5b3 Mon Sep 17 00:00:00 2001 From: demo Date: Fri, 29 May 2026 11:34:48 -0400 Subject: feat: finalize acceptable iteration of "UI" --- cmds.go | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'cmds.go') 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 }) -- cgit v1.2.3