aboutsummaryrefslogtreecommitdiffstats
path: root/todo.go
diff options
context:
space:
mode:
authorGrant Ammons <gammons@gmail.com>2016-05-03 15:02:24 -0400
committerGrant Ammons <gammons@gmail.com>2016-05-03 15:02:24 -0400
commit017ddfd50eec98e4ee8dd42a1dac800cdb674171 (patch)
treedb289ebcb7b0aaf4c1e24370a066072688c68724 /todo.go
parent82dbd4a62ac62d97a61386696d992e3400167d97 (diff)
Make everything a pointer, add archive completed fn
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 707ffd2..3b74943 100644
--- a/todo.go
+++ b/todo.go
@@ -112,5 +112,7 @@ func routeInput(command string, input string) {
app.ArchiveTodo(input)
case command == "uar" || command == "unarchive":
app.UnarchiveTodo(input)
+ case command == "ac":
+ app.ArchiveCompleted()
}
}