Taskbook – How to create a todo list in Terminal

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.

tasbook preview

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.

Command 

tb --task task_name
or
tb --t task_name

Example 

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.

Command

tb --check task_number
or
tb -c task_number

Example

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.

Command

tb --star task_number
or
tb -s task_number

Example

tb -s 1

4.How to Display List Items

If you want to display list items along with board names use tb –timeline.

Command

tb --timeline

Example

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.

Command

tb --s search_term
or
tb --search search_term

Example

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.

Command

tb --edit @task_number task_description
or
tb -e @task_number task_description

Example

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

Command

tb --priority @1 priority_level
or
tb -p @1 priority_level

Example

tb -p @1 2

8.How to Create a Note

To create a note use  tb -n / tb –note followed by note content.

Command

tb --note text
or
tb -n text

Example

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.

Command

tb -t task_name @board_name

Example

tb -t html @webdesign

If you want to see board tasks  run tb -l followed by board name

tb -l webdesign

Output

@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.

Command

tb --delete task_number
or
tb -d task_number

Example

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.

Also read

How to create a porfolio website from scratch

How to create basic crud application using angularjs 

 

Was this post helpful?
Let us know if you liked the post. That’s the only way we can improve.
Yes1
No0
Powered by Helpful

Leave a Reply

Your email address will not be published. Required fields are marked *