List
Todo
Event
Deadline
Do
Delete
Find
View Schedules
Bye
List
list
: List all tasks recorded
Format: list
Example of usage: list
Expected Outcome:
Here are the tasks in your list:
1.[T][] CS2103 iP
2.[D][] CS2103 (by: 1-Mar-2020)
3.[E][] celebrate completion of iP (at: 2-Mar-2020)
Adding a Todo task
Todo
: Creates a Todo task
Format: todo [description]
Remark:
Example of usage: todo Complete CS2103 iP
Expected Outcome:
Got it. I've added this task:
[T][✘] Complete CS2103 iP
Now you have 1 task in the list.
Adding a Deadline task
Deadline
: Creates a Deadline task
Format: deadline [description] /by YYYY-MM-DD
Remarks:
[description] can have spaces
date must follow the YYYY-MM-DD format exactly
Example of usage: deadline Complete CS2103 iP /by 2020-03-01
Expected Outcome:
Got it. I've added this task:
[D][✘] Complete CS2103 iP (by: 1-Mar-2020)
Now you have 1 task in the list.
Adding an Event task
Deadline
: Creates a Event task
Format: event [description] /at YYYY-MM-DD
Remark:
[description] can have spaces
date must follow the YYYY-MM-DD format exactly
Example of usage: event Celebrate completion of CS2103 iP /at 2020-03-02
Expected Outcome:
Got it. I've added this task:
[E][✘] Celebrate completion of CS2103 iP (at: 2-Mar-2020)
Now you have 1 task in the list.
Doing a task
Done
: Marks a task as complete
Format: do [index]
Remark:
list
is usedExample of usage: done 1
Expected Outcome:
Nice! I've marked this task as done:
[✓] Complete iP
Deleting a task
Delete
: Deletes a task
Format: delete [index]
Remark:
list
is usedExample of usage: delete 1
Expected Outcome:
Noted. I've removed this task:
[✓] Complete iP
Now you have 1 task in the list.
Finding a task
Find
: Finds any task that matches or has a partial match to the input
Format: find [description]
Remark:
Example of usage: find book
Expected Outcome:
1.[T][✘] find a book
2.[D][✘] delete the e-book (by: 25-Dec-2020)
4.[E][✘] install e-bookreader app (at: 24-Dec-2020)
Viewing Schedules
View Schedules
: Displays tasks occurring on input date
Format: view [date]
Remark:
Example of usage: view 2020-12-25
Expected Outcome:
2.[D][✘] delete the e-book (by: 25-Dec-2020)
3.[E][✘] Christmas partay (at: 25-Dec-2020)
Bye
Bye
: Exits Duke
Format: bye
Example of usage: bye
Expected Outcome:
Bye. Hope to see you again soon!