diff options
| author | Grant Ammons <gammons@gmail.com> | 2017-09-28 07:09:28 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-09-28 07:09:28 -0400 |
| commit | 0840e7a147d8594acec63fd1ce8aba9e15472839 (patch) | |
| tree | 75749417869e43900195d3850c09045932674714 /todo.go | |
| parent | ffb472f7d84952228dd244f4911806f0e6a31e77 (diff) | |
| parent | aac8a1f17beeb6069da999cde1fc20c251811318 (diff) | |
Merge pull request #102 from stuartskelton/Implement_a_done_option
Implement a done option
Diffstat (limited to 'todo.go')
| -rw-r--r-- | todo.go | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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": |
