diff options
| author | Grant Ammons <gammons@gmail.com> | 2016-05-02 07:32:05 -0400 |
|---|---|---|
| committer | Grant Ammons <gammons@gmail.com> | 2016-05-02 07:32:05 -0400 |
| commit | b91b9d073680a0371af825238af230e9618aea12 (patch) | |
| tree | baf9ffba44af3c1b36c76dc9c0cc18e6402c03b1 /todo.go | |
| parent | 34c89ec2ca4b458adb94534c4fae44c921181f59 (diff) | |
Add archive/unarchive
Diffstat (limited to 'todo.go')
| -rw-r--r-- | todo.go | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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) } } |
