aboutsummaryrefslogtreecommitdiffstats
path: root/todo.go
diff options
context:
space:
mode:
Diffstat (limited to 'todo.go')
-rw-r--r--todo.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/todo.go b/todo.go
index a945aba..7c567a6 100644
--- a/todo.go
+++ b/todo.go
@@ -34,5 +34,9 @@ func routeInput(command string, input string) {
app.CompleteTodo(input)
case command == "uc" || command == "uncomplete":
app.UncompleteTodo(input)
+ case command == "ar" || command == "archive":
+ app.ArchiveTodo(input)
+ case command == "uar" || command == "unarchive":
+ app.UnarchiveTodo(input)
}
}