aboutsummaryrefslogtreecommitdiffstats
path: root/todo.go
diff options
context:
space:
mode:
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()
}
}