HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

todo.sh — Simple and extensible shell script for managing your `todo.txt` file. More information: <https://git

Submitted by: @import:tldr-pages··
0
Viewed 0 times
simpleshellcommandtodo.shextensibleandcliscript

Problem

How to use the todo.sh command: Simple and extensible shell script for managing your todo.txt file. More information: <https://github.com/todotxt/todo.txt-cli>.

Solution

todo.sh — Simple and extensible shell script for managing your todo.txt file. More information: <https://github.com/todotxt/todo.txt-cli>.

List every item:
todo.sh ls


Add an item with project and context tags:
todo.sh add '{{description}} +{{project}} @{{context}}'


Mark an item as [do]ne:
todo.sh do {{item_no}}


Remove an item:
todo.sh rm {{item_no}}


Set an item's [pri]ority (A-Z):
todo.sh pri {{item_no}} {{priority}}


Replace an item:
todo.sh replace {{item_no}} '{{new_description}}'

Code Snippets

List every item

todo.sh ls

Add an item with project and context tags

todo.sh add '{{description}} +{{project}} @{{context}}'

Mark an item as [do]ne

todo.sh do {{item_no}}

Remove an item

todo.sh rm {{item_no}}

Set an item's [pri]ority (A-Z)

todo.sh pri {{item_no}} {{priority}}

Context

tldr-pages: common/todo.sh

Revisions (0)

No revisions yet.