From 642a71b941aa382b1e7a42e7e378452007373cda Mon Sep 17 00:00:00 2001 From: Grant Ammons Date: Sun, 12 Jun 2016 13:36:54 -0400 Subject: Add the webapp --- todo.go | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'todo.go') diff --git a/todo.go b/todo.go index cc5c0ad..3beccc8 100644 --- a/todo.go +++ b/todo.go @@ -126,5 +126,9 @@ func routeInput(command string, input string) { app.EditTodoDue(input) case "init": app.InitializeRepo() + case "web": + web := todolist.NewWebapp() + fmt.Println("Now serving todolist web.\nHead to http://localhost:7890 to see your todo list!") + web.Run() } } -- cgit v1.3