Linux command
tb 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Display all tasks and notes
tb
Create a new task
tb -t [Buy groceries]
Create a task on a specific board
tb -t @[work] [Finish report]
Create a note
tb -n [Remember to call John]
Check/uncheck tasks
tb -c [1] [2]
Set task priority
tb -p [1] [3]
Delete items
tb -d [1] [2]
Search for items
tb -f [keyword]
Display timeline view
tb -i
说明
tb (Taskbook) is a command-line task and note manager organized around boards. It provides a minimal interface for creating, organizing, and tracking tasks and notes directly from the terminal. Items are organized into boards using the @boardname syntax. Tasks without a board assignment go to the default "My Board". Multiple boards can be assigned to a single item. The interface displays completion statistics showing pending, done, and note counts. Tasks can have priorities (shown with different colors), be starred for emphasis, and marked as in-progress with the begin command. Deleted items are archived and can be restored. The timeline view groups items by creation date instead of boards. Data is stored in JSON format at ~/.taskbook/storage. Configuration options can be set in ~/.taskbook.json.
参数
- -t, --task _description_
- Create a new task; use @board to assign to boards
- -n, --note _body_
- Create a new note
- -c, --check _ids_
- Toggle completion status of tasks
- -b, --begin _ids_
- Start or pause tasks
- -s, --star _ids_
- Star or unstar items
- -p, --priority _id_ _level_
- Set task priority (1=normal, 2=medium, 3=high)
- -m, --move _id_ _@board_
- Move item to a different board
- -d, --delete _ids_
- Delete items (moves to archive)
- -e, --edit _id_ _description_
- Edit item description
- -f, --find _keywords_
- Search items by keywords
- -l, --list _attributes_
- List items filtered by attributes
- -a, --archive
- Display archived items
- -r, --restore _ids_
- Restore items from archive
- --clear
- Delete all checked (completed) tasks
- -y, --copy _ids_
- Copy item descriptions to clipboard
- -i, --timeline
- Display items grouped by creation date
- --taskbook-dir _path_
- Use a custom taskbook storage directory
- -h, --help
- Show help information
- -v, --version
- Show version number
FAQ
What is the tb command used for?
tb (Taskbook) is a command-line task and note manager organized around boards. It provides a minimal interface for creating, organizing, and tracking tasks and notes directly from the terminal. Items are organized into boards using the @boardname syntax. Tasks without a board assignment go to the default "My Board". Multiple boards can be assigned to a single item. The interface displays completion statistics showing pending, done, and note counts. Tasks can have priorities (shown with different colors), be starred for emphasis, and marked as in-progress with the begin command. Deleted items are archived and can be restored. The timeline view groups items by creation date instead of boards. Data is stored in JSON format at ~/.taskbook/storage. Configuration options can be set in ~/.taskbook.json.
How do I run a basic tb example?
Run `tb` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does -t, --task _description_ do in tb?
Create a new task; use @board to assign to boards