aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Strùˆder <mikezter@gmail.com>2017-04-29 16:34:04 +0200
committerGrant Ammons <gammons@gmail.com>2017-05-09 20:20:24 -0400
commitc12bbb27b6268d2f3eedc56234a46e54d010e3f2 (patch)
treec778fee1dd47f67afeb21be2427511a802960aab
parented6ab22cbdbc475adf539637e45a67811ec0c15a (diff)
add command line interface for edit-subject
-rw-r--r--todo.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/todo.go b/todo.go
index f41410d..d091cd3 100644
--- a/todo.go
+++ b/todo.go
@@ -140,8 +140,10 @@ func routeInput(command string, input string) {
app.UnarchiveTodo(input)
case "ac":
app.ArchiveCompleted()
- case "e", "edit":
+ case "e", "edit", "ed", "edit-date":
app.EditTodoDue(input)
+ case "es", "edit-subject":
+ app.EditTodoSubject(input)
case "ex", "expand":
app.ExpandTodo(input)
case "gc":