Duke is a Chatbot that helps a person to keep track of tasks.
There are 3 types of task:
Task can be added, marked as done, or deleted if not needed anymore.
You can search task using keyword and duke will list out all task with keyword.
If you have entered a task before, duke will inform you that it has been added.
All your tasks will be save to a .txt file.
todo DESCRIPTION
- Add a todo taskA todo will be added to your list with the description
.
Example of usage:
todo visit musuem
Expected outcome:
Got it. I've added this task:
[T][✘] visit musuem
Now you have 1 tasks in the list.
deadline DESCRIPTION /by DD/MM/YYYY HHmm
- Add a deadline taskA deadline will be added to your list with the description
, date
and time
.
Example of usage:
deadline finish assignment /by 20/10/2019 2359
Expected outcome:
Got it. I've added this task:
[D][✘] finish assignment (by: 20-Oct-2019 11:59PM)
Now you have 2 tasks in the list.
event DESCRIPTION /at DD/MM/YYYY HHmm
- Add a event taskAn event will be added to your list with the description
, date
and time
.
Example of usage:
event lunch with friend /at 21/10/2019 1200
Expected outcome:
Got it. I've added this task:
[E][✘] lunch with friend (by: 21-Oct-2019 12:00PM)
Now you have 3 tasks in the list.
list
- List all the tasksAll tasks in your list will be listed out.
Example of usage:
list
Expected outcome:
Here are the tasks in your list:
1. [T][✘] visit musuem
2. [D][✘] finish assignment (by: 20-Oct-2019 11:59PM)
3. [E][✘] lunch with friend (by: 21-Oct-2019 12:00PM)
done INDEX
- Mark task as doneMark the task as done at specified INDEX
.
The index must be a positive integer 1, 2, 3…
Example of usage:
done 2
Expected outcome:
Nice! I've marked this task as done:
2. [D][✔] finish assignment (by: 20-Oct-2019 11:59PM)
delete INDEX
- Delete taskDeletes the task at specified INDEX
The index must be a positive integer 1, 2, 3…
Example of usage:
delete 2
Expected outcome:
Noted. I've removed this task:
[D][✔] finish assignment (by: 20-Oct-2019 11:59PM)
Now you have 2 tasks in the list.
find KEYWORD
- Find tasks using a keywordFinds tasks which contains given KEYWORD
Example of usage:
find friend
Expected outcome:
Here are the matching tasks in your list:
1. [E][✘] lunch with friend (by: 21-Oct-2019 12:00PM)