Duke is a schedule planner targeted at users who prefer Command Line Interface.
You can add and keep track of 3 different types of task.
Show all the tasks with one command.
You can enjoy the satisfaction of ticking your task as done after completing them.
You can edit a specific task if you have entered the wrong details.
Too many task? You can find them by their descriptions.
Do not want to keep track of a task anymore? You can remove them from the list.
Todo
To add a todo, type todo <description>
Example of usage:
todo get a haircut
Expected outcome:
Got it. I've added this task:
[T][✘] get a haircut
Now you have 1 tasks in the list.
Deadline
To add a deadline, type deadline <description> /by <dd/MM/yyyy HHmm>
Note: HHmm is in 24 hour format. For example 12:30am is 0030 and 11:15pm is 2315.
Example of usage:
deadline CS2103 IP /by 20/09/2019 2359
Expected outcome:
Got it. I've added this task:
[D][✘] CS2103 IP (by: Fri 20/09/2019 2359)
Now you have 2 tasks in the list.
Event
To add an event, type event <description> /at <dd/MM/yyyy HHmm>
Note: HHmm is in 24 hour format. For example 12:30am is 0030 and 11:15pm is 2315.
Example of usage:
event attend seminar /at 30/09/2019 1000
Expected outcome:
Got it. I've added this task:
[E][✘] attend seminar (at: Mon 30/09/2019 1000)
Now you have 3 tasks in the list.
To show all task, type list
Expected outcome:
Here are the tasks in your list
1. [T][✘] get a haircut
2. [D][✘] CS2103 IP (by: Fri 20/09/2019 2359)
3. [E][✘] attend seminar (at: Mon 30/09/2019 1000)
To mark a task as done, type done <task number>
Example of usage:
done 1
Expected outcome:
Nice! I've marked this task as done:
1. [T][✓] get a haircut
To edit a task, type edit <task number> <field to be changed> <new content>
Note:
For event
and deadline
, <field to be changed>
are date
or description
.
For todo
, <field to be changed>
is only description
.
Example of usage:
edit 3 date 01/10/2019 1300
Expected outcome:
I've updated this task as:
[E][✗] attend seminar (at: Tue 01/10/2019 1300)
To find a task, type find <keyword>
Note: find is case sensitive. See usage example 2 below:
Example of usage 1:
find CS
Expected outcome 1:
Here are the matching tasks in your list:
1. [D][✗] CS2103 IP (by: Fri 20/09/2019 2359)
Example of usage 2:
find cs
Expected outcome 2:
Here are the matching tasks in your list:
To delete a task, type delete <task number>
Example of usage:
delete 2
Expected outcome:
Noted. I've removed this task:
2. [D][✗] CS2103 IP (by: Fri 20/09/2019 2359)
Now you have 2 tasks in the list.
To exit from Duke, type bye
Warning: All the changes you have made in this session will be saved only when you type bye