There is Lot of GUI Tools to create and manage Todo lists. But few people mostly would like to work on terminal or command prompt ( for windows ) like me. If you are one like that this tutorial is for you. In this tutorial, I am going to teach you how to create a to-do list in terminal by using taskbook tool.
Taskbook is an open source tool which requires a flat learning curve. It’s a node module which works on every platform and lets you create and manage to do lists and writing notes on command prompt / terminal.
Top Features of taskbook
- create and manage todo lists
- starring tasks
- creating boards
- creating notes
- setting priority for tasks
You can install taskbook by running the below command.
npm install taskbook --save
Ok, Let’s start discuss some commands of taskbook.
1.How to create a task on taskbook
To create a task on task book, use the command tb -t / tb –task followed by task description.
tb --task task_name or tb --t task_name
tb -t My First Task
2.How to Check and Un check a task
To check a task, use the command tb -c / tb –check followed by task id. The checked tasks will display with a prefix of the ✔ . You can check multiple tasks at the same time by giving multiple task id’s. If you want to un check the task run the same command again.
tb --check task_number or tb -c task_number
tb -c 1
3.How to Star or Un star task
To star a task, use the command tb -s / tb –star followed by task id. The starred tasks will display with a postfix of the ★. use multiple task id’s, if you want to star more than one items at the same time. To un star an item run it again.
tb --star task_number or tb -s task_number
tb -s 1
4.How to Display List Items
If you want to display list items along with board names use tb –timeline.
Fri Aug 31 2018 [Today] [0/1] 1. ☐ My First Task ★ 0% of all tasks complete. 0 done · 1 pending · 0 notes
Or if you want to display list items separated by board names, just use tb
My Board [1/2] 1. ✔ good morning 3d ★ 2. ☐ new task (!) @outdoor [0/1] 3. ☐ shopping 33% of all tasks complete. 1 done · 2 pending · 0 notes
5.How to Search for a task
To search tasks on the taskbook, use tb -f / tb –find followed by search term.
tb --s search_term or tb --search search_term
tb --search First My Board [0/1] 1. ☐ My First Task ★ 0% of all tasks complete. 0 done · 1 pending · 0 notes
6.How to update a Task
To update a task description, use tb -e / tb –edit followed by task id along with new task description.
tb --edit @task_number task_description or tb -e @task_number task_description
tb --e @1 This Task was edited
7.How to set Priority for Task
To set a task priority while creating use p:x where x is the priority level.
tb -t new task p:2
1 – Normal priority
2 – Medium priority
3 – High priority
To update the priority level of a written task use tb -p / tb –priority followed by task id with the prefix of @ symbol along with priority level which is integer number
tb --priority @1 priority_level or tb -p @1 priority_level
tb -p @1 2
8.How to Create a Note
To create a note use tb -n / tb –note followed by note content.
tb --note text or tb -n text
tb -t sample note
9.How to Create a Board
To create a board include board name with the prefix of @ when creating a task. The created tasks which doesn’t contained a board name will added to My Board.
tb -t task_name @board_name
tb -t html @webdesign
If you want to see board tasks run tb -l followed by board name
tb -l webdesign
@webdesign [0/1] 2. ☐ html 0% of all tasks complete. 0 done · 2 pending · 0 notes
10.How to Delete a List Item
To delete a task use tb -d / tb –delete followed by taks ids. remember that deleted items are not actually deleted it will be archived, you can restore it at any moment.
tb --delete task_number or tb -d task_number
tb -d 1
For more details, check the original documentation on github
Hope this article may help you. If you know something better than this, please comment below.