Duke is a chatbot that helps the user manage tasks.
Currently, Duke supports 3 types of tasks -
Todo tasks store only the description of the task and nothing else.
Syntax: todo <description>
Example: todo example task
Expected Outcome:
Got it, I've added this task:
[T][✗] example task
You still have 1 tasks left.
Deadline tasks store the description of the task, along with a deadline when it should be completed.
Syntax: deadline <description> /by <YYYY-MM-DD>
Example: deadline example deadline /by 2020-09-16
Expected Outcome:
Got it, I've added this task:
[D][✗] example deadline (by:16 Sep 2020)
You still have 2 tasks left.
Event tasks store the description of the task, along with the time it starts.
Syntax: event <description> /at <YYYY-MM-DD>
Example: event example event /at 2020-09-16
Expected Outcome:
Got it, I've added this task:
[E][✗] example event (at:16 Sep 2020)
You still have 3 tasks left.
Displays all tasks currently added in the form of a list.
Syntax: list
Expected Outcome:
Here are your tasks:
1. [T][✗] example task
2. [D][✗] example deadline (by:16 Sep 2020)
3. [E][✗] example event (at:16 Sep 2020)
Deletes a specified task from the list.
Syntax: delete <index>
Example: delete 3
Expected Outcome:
Alright, I've removed this task:
[E][✗] example event (at:16 Sep 2020)
You still have 2 tasks left.
Marks a specified task in the list as done.
Syntax: done <index>
Example: done 2
Expected Outcome:
Good job kid!
[D][✓] example deadline (by:16 Sep 2020)
Filters all tasks currently in the list for those matching the specified keyword.
Syntax: find <keyword>
Example find task
Expected Outcome:
Were these what you were looking for?
1. [T][✗] example task
Saves the current tasks into a specified text folder.
Syntax: archive <name of folder>
Example archive example.txt
Expected Outcome:
Got it, I've saved them somewhere else.
Command the app to close.
Syntax: bye
Expected Outcome:
Come visit again soon!