aboutsummaryrefslogtreecommitdiffstats
path: root/todo.go
diff options
context:
space:
mode:
authorGrant Ammons <gammons@gmail.com>2016-05-08 07:48:50 -0400
committerGrant Ammons <gammons@gmail.com>2016-05-08 07:48:50 -0400
commita886124d40f79f311230d2f03f161fd361e43040 (patch)
treed0105bd88e69f682b95310036c3c4a7a8dcfaa6a /todo.go
parent8bb8317f1f29a7dd1b910931ebd12c739a5fa1cc (diff)
Look for .todos.json in the directory we are in
This allows for project-specific todos.
Diffstat (limited to 'todo.go')
-rw-r--r--todo.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/todo.go b/todo.go
index b7d453e..45d5425 100644
--- a/todo.go
+++ b/todo.go
@@ -122,5 +122,7 @@ func routeInput(command string, input string) {
app.ArchiveCompleted()
case "e", "edit":
app.EditTodoDue(input)
+ case "init":
+ app.InitializeRepo()
}
}