aboutsummaryrefslogtreecommitdiffstats
path: root/todo.go
diff options
context:
space:
mode:
authorGrant Ammons <gammons@gmail.com>2016-05-02 07:32:05 -0400
committerGrant Ammons <gammons@gmail.com>2016-05-02 07:32:05 -0400
commitb91b9d073680a0371af825238af230e9618aea12 (patch)
treebaf9ffba44af3c1b36c76dc9c0cc18e6402c03b1 /todo.go
parent34c89ec2ca4b458adb94534c4fae44c921181f59 (diff)
Add archive/unarchive
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)
}
}