aboutsummaryrefslogtreecommitdiffstats
path: root/todo.go
diff options
context:
space:
mode:
authorGrant Ammons <gammons@gmail.com>2016-06-12 13:36:54 -0400
committerGrant Ammons <gammons@gmail.com>2016-06-12 13:37:05 -0400
commit642a71b941aa382b1e7a42e7e378452007373cda (patch)
tree5e1335a19ffb611dec8c02253f6438b7d891a225 /todo.go
parent00166fe17b7bbd4691d29c1ee15a66685c899366 (diff)
Add the webapp
Diffstat (limited to 'todo.go')
-rw-r--r--todo.go4
1 files changed, 4 insertions, 0 deletions
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()
}
}