aboutsummaryrefslogtreecommitdiffstats
path: root/todo.go
diff options
context:
space:
mode:
Diffstat (limited to 'todo.go')
-rw-r--r--todo.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/todo.go b/todo.go
index 98bc133..d2cc06e 100644
--- a/todo.go
+++ b/todo.go
@@ -149,6 +149,8 @@ func routeInput(command string, input string) {
app.ListTodos(input)
case "a", "add":
app.AddTodo(input)
+ case "done":
+ app.AddDoneTodo(input)
case "d", "delete":
app.DeleteTodo(input)
case "c", "complete":