mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-01 18:42:38 +00:00
34 lines
624 B
Bash
34 lines
624 B
Bash
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# 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}}'`
|