From dfa9eebe1c2fef1c7fca480d8e44fa1f430db66c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Richard=20M=C3=B6rbitz?= Date: Wed, 27 Oct 2021 19:47:29 +0200 Subject: [PATCH] todo: merge page with examples from #7105 (#7231) --- pages/common/todo.md | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/pages/common/todo.md b/pages/common/todo.md index 49c75c5bf8..cba3f4ba24 100644 --- a/pages/common/todo.md +++ b/pages/common/todo.md @@ -3,22 +3,30 @@ > A simple, standards-based, cli todo manager. > More information: . -- Add a new task to the work list: - -`todo new {{thing_to_do}} --list {{work}}` - - List startable tasks: `todo list --startable` -- Mark a task as completed: +- Add a new task to the work list: -`todo done {{task_id}}` +`todo new {{thing_to_do}} --list {{work}}` + +- Add a location to a task with a given ID: + +`todo edit --location {{location_name}} {{task_id}}` - Show details about a task: `todo show {{task_id}}` +- Mark tasks with the specified IDs as completed: + +`todo done {{task_id1 task_id2 ...}}` + - Delete a task: `todo delete {{task_id}}` + +- Delete done tasks and reset the IDs of the remaining tasks: + +`todo flush`