There are many individual projects in CS2103T, but this one is mine.
Add 3 types of tasks, To Do, Event, and Deadline, with date (optional).
todo
- adds a To Do taskevent
- adds an Event taskdeadline
- adds a Deadline taskUsage:
<todo/event/deadline> <name of task> <date>
Example:
todo homework 2020-09-08
Expected outcome:
Task added:
[T][X] Homework @ Sep 08 2020
You now have 1 task(s)."
Mark added tasks as complete.
done
- marks task at selected index as completeUsage:
<done> <task index>
Example:
done 1
Expected outcome:
Marked task 1 as complete
[T][✓] Homework @ Sep 09 2020
Change the name or date of tasks.
update
- updates name or date at selected indexUsage:
<update> <task index> <name/date> <information to update>
Example:
update 1 date 2020-09-08
Expected outcome:
Updated task:
[T][X] Homework @ Sep 08 2020
Delete added tasks
delete
- deletes task at selected indexUsage:
<delete> <task index>
Example:
delete 1
Expected outcome:
Deleted task:
[T][X] Homework @ Sep 09 2020
There are now 0 task(s) remaining.
Lists out all tasks
list
- displays all stored tasksUsage:
<list>
Example:
list
Expected outcome:
Here's your tasks
1.[T][X] Homework @ Sep 08 2020
2.[T][X] Housework @ Sep 09 2020
3.[T][X] Woodwork @ Sep 08 2020
4.[T][X] Bodywork @ Sep 09 2020
Lists all tasks with names that match given input
find
- displays all stored tasksUsage:
<find> <name to search for>
Example:
find od
Expected outcome:
Here's your matching tasks:
3.[T][X] Woodwork @ Sep 08 2020
4.[T][X] Bodywork @ Sep 09 2020
Lists all tasks with due dates that match given input
due
- displays all stored tasksUsage:
<due> <date>
Example:
due 2020-09-08
Expected outcome:
These tasks are due:
[T][X] Homework @ Sep 08 2020
[T][X] Woodwork @ Sep 08 2020
Exits the program
bye
- displays all stored tasksUsage:
<bye>
Example:
bye
Expected outcome:
Program exits