From c12bbb27b6268d2f3eedc56234a46e54d010e3f2 Mon Sep 17 00:00:00 2001 From: Michael Strùˆder Date: Sat, 29 Apr 2017 16:34:04 +0200 Subject: add command line interface for edit-subject --- todo.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'todo.go') 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": -- cgit v1.3