summaryrefslogtreecommitdiff
path: root/cmds.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmds.go')
-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
})