From e3213b3ef2c84387b66eeb731f5493c5e6da6a5d Mon Sep 17 00:00:00 2001 From: Grant Ammons Date: Tue, 26 Apr 2016 09:01:40 -0400 Subject: Get adding a todo working --- todo.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'todo.go') diff --git a/todo.go b/todo.go index c6bd052..5ae2e43 100644 --- a/todo.go +++ b/todo.go @@ -26,5 +26,7 @@ func routeInput(command string, input string) { switch { case command == "l" || command == "list": app.ListTodos(input) + case command == "a" || command == "add": + app.AddTodo(input) } } -- cgit v1.3