diff options
| author | demo <demo@antix1> | 2026-05-29 11:34:48 -0400 |
|---|---|---|
| committer | demo <demo@antix1> | 2026-05-29 11:34:48 -0400 |
| commit | 84be938756a0a6163ff752b1e1547631d2f7a5b3 (patch) | |
| tree | 29bf604a43ae342e0b393ab2829dc0f715f15ce3 | |
| parent | 3e2e7a93446329913b315eea5eca1a350c2769e0 (diff) | |
feat: finalize acceptable iteration of "UI"
| -rw-r--r-- | cmds.go | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -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 }) |
