Add 3 types of tasks, namely Todo, Deadline and Event.
todo DESCRIPTION [@TAG]
- Add a Todo task with a tag
Todo tasks can be used to record tasks with no Date/Time involved.
Tagging is optional.
Example of usage: todo homework @CS2030
Expected outcome:
Got it. I've added this task:
[T][X] homework @CS2030
Now you have 7 tasks in the list.
deadline DESCRIPTION /by DD/MM/YYYY HHmm [@TAG]
- Add a Deadline task with a tag
Deadline tasks can be used to record tasks with a Date/Time as deadline.
Tagging is optional.
Example of usage: deadline homework /by 20/06/2020 1900 @CS2030
Expected outcome:
Got it. I've added this task:
[D][X] homework (by: 20 Jun 2020, 1900) @CS2030
Now you have 7 tasks in the list.
event DESCRIPTION /at DD/MM/YYYY HHmm [@TAG]
- Add an Event task with a tag
Event tasks can be used to record tasks with a Date/Time of event.
Tagging is optional.
Example of usage: event graduation /at 20/06/2020 1900 @CS2030
Expected outcome:
Got it. I've added this task:
[E][X] Graduation (at: 20 Jun 2020, 1900) @CS2030
Now you have 7 tasks in the list.
Delete a task that you no longer want on your task list.
delete TASK_INDEX
- Delete the task with TASK_INDEX
Example of usage: delete 3
Expected outcome:
Noted. I've deleted this task:
[D][X] homework (by: 20 Jun 2020, 1900) @CS2030
Now you have 6 tasks in the list.
Mark a task that you have completed as done on your task list.
done TASK_INDEX
- Mark the task with TASK_INDEX as done
Example of usage: done 3
Expected outcome:
Nice! I've marked this task as done:
[D][✓] homework (by: 20 Jun 2020, 1900) @CS2030
List out all tasks in your task list.
list
- list out the task list
Example of usage: list
Expected outcome:
Here are the tasks in your list:
1. [D][X] homework (by: 20 Jun 2020, 1900) @CS2030
2. [E][X] holiday (at: 20 Jun 2020, 1900) @hol
Find the tasks which descriptions contain the given keyword.
find KEYWORD
- Find the tasks that contain KEYWORD in description
Example of usage: find book
Expected outcome:
Here are the tasks that matched your search:
1. [D][X] read storybook (by: 20 Jun 2020, 1900)
2. [D][X] return book (by: 20 Jun 2020, 1900)
List out all the tags in the task list.
tags
- List the tags in the task list
Example of usage: tags
Expected outcome:
Here are your tags:
1. CS2030
2. hols
Find the tasks which tags match the given tag.
tag TAG_NAME
- Find the tasks in the task list that match the tag
Example of usage: tag CS2030
Expected outcome:
Here are the tasks that matched your search:
1. [D][X] tutorial (by: 20 Jun 2020, 1900) @CS2030
2. [D][X] assignment (by: 20 Jun 2020, 1900) @CS2030
Exits the Program.
Format: bye
Images used in this project:
Duke Avatar
User Avatar