Starter code for the Duke project
View a list of all saved tasks.
list
Format: list
Example of usage:
list
Expected outcome:
Here are your tasks:
1.[T][✓] homework #school
2.[D][✘] tasks (by: 24 Feb 2020) #cs2109
3.[E][✘] holiday (at: 1 Jun 2020) #money
Add a todo task to the saved tasks list.
todo
Format: todo <description>
Example of usage:
todo homework
Expected outcome:
Alright! The following task has been added:
[T][✘] homework
You now have 1 task in the list.
Add an event task to the saved tasks list.
event
Format: event <description> /at <YYYY-MM-DD>
Example of usage:
event holiday /at 2020-06-01
Expected outcome:
Alright! The following task has been added:
[E][✘] holiday (at: 1 Jun 2020)
You now have 1 task in the list.
Add a deadline task to the saved tasks list.
deadline
Format: deadline <description> /by <YYYY-MM-DD>
Example of usage:
deadline assignment /by 2020-03-04
Expected outcome:
Alright! The following task has been added:
[D][✘] assignment (by: 4 Mar 2020)
You now have 1 task in the list.
Set the status of a task in the saved tasks list to done.
done
Format: done <task number in list>
Example of usage:
done 1
Expected outcome:
Noted. I have marked this task as done:
[D][✓] assignment (by: 4 Mar 2020)
Delete a task from the saved tasks list.
delete
Format: delete <task number in list>
Example of usage:
delete 1
Expected outcome:
Noted. I have removed this task:
[D][✓] assignment (by: 4 Mar 2020)
You now have 0 tasks in the list.
Find tasks in the saved tasks list with descriptions containing the provided search term.
find
Format: find <search term>
Example of usage:
search holiday
Expected outcome:
These are the matching tasks in your list:
1.[E][✘] holiday (at: 1 Jun 2020)
Tag a task in the saved tasks list with the provided tag.
tag
Format: tag <task number in list> <tag>
Example of usage:
tag 1 money
Expected outcome:
Added tag to this task:
[E][✘] holiday (at: 1 Jun 2020) #money