From aac8a1f17beeb6069da999cde1fc20c251811318 Mon Sep 17 00:00:00 2001 From: Stuart Skelton Date: Wed, 27 Sep 2017 19:13:04 +0100 Subject: Implement a done option --- todo.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'todo.go') diff --git a/todo.go b/todo.go index 98bc133..d2cc06e 100644 --- a/todo.go +++ b/todo.go @@ -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": -- cgit v1.3