diff options
Diffstat (limited to 'cmds.go')
| -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 }) |
