From 0905a863f50d9631e6c44488b952622e75d79785 Mon Sep 17 00:00:00 2001 From: Grant Ammons Date: Sun, 1 May 2016 15:07:45 -0400 Subject: Implement delete logic --- todo.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'todo.go') diff --git a/todo.go b/todo.go index 5ae2e43..992989a 100644 --- a/todo.go +++ b/todo.go @@ -28,5 +28,7 @@ func routeInput(command string, input string) { app.ListTodos(input) case command == "a" || command == "add": app.AddTodo(input) + case command == "d" || command == "del": + app.DeleteTodo(input) } } -- cgit v1.3