Welcome to Duke, a Personal Assistant Chatbot that helps you keep track of todos, deadlines and tasks.
list
find
todo
deadline
event
done
delete
help
bye
list
Displays a list of all existing tasks.
Format: list
Expected outcome:
Here are the tasks in your list:
1.[T][✓] ACC assignment
2.[E][✘] Formal Dinner (at: Sep 17 2020)
3.[T][✓] CS assignment
find
Displays a list of tasks which contain the given keyword.
Format: find [keyword]
Example of usage: find assignment
Expected outcome:
Here are the matching tasks in your list:
1.[T][✘] ACC assignment
2.[T][✘] CS assignment
todo
Adds a task with a description to the task list.
Format: todo [description]
Example of usage: todo Essay
Expected outcome:
Got it. I’ve added this task:
[T][✘] Essay
Now you have 4 tasks in the list.
deadline
Adds a task with a description and a deadline to the task list.
Format: deadline [description] /by [date]
Example of usage: deadline School Fees /by 2020-11-01
Expected outcome:
Got it. I’ve added this task:
[D][✘] School Fees (by: Nov 1 2020)
Now you have 5 tasks in the list.
event
Adds a task with a description and an event date to the task list.
Format: event [description] /at [date]
Example of usage: event Birthday Celebration /at 2020-12-22
Expected outcome:
Got it. I’ve added this task:
[E][✘] Birthday Celebration (at: Dec 22 2020)
Now you have 6 tasks in the list.
done
Marks the specified task as done in the task list.
Format: done [index]
Example of usage: done 5
Expected outcome:
Nice! I’ve marked this task as done:
[✓] School Fees
delete
Removes the specified task from the task list.
Format: delete [index]
Example of usage: delete 2
Expected outcome:
Noted. I’ve removed this task:
[E][✘] Formal Dinner (at: Sep 17 2020)
help
Displays the help page.
Format: help
Expected outcome:
I see that you need some help!
Here are a list of Duke commands ([] indicates user input):
- list - shows a list of your existing tasks
- find [keyword] - shows a list of existing tasks which contain the given keyword
- todo [description] - adds a todo with a description
- deadline [description] /by [date in yyyy-mm-dd format] - adds a deadline with a description and a deadline
- event [description] /at [date in yyyy-mm-dd format] - adds an event with a description and an event date
- done [index] - marks the specified task as done
- delete [index] - deletes the specified task from the task list
- help - shows the help page
- bye - exits the application
bye
Exits the application.
Format: bye
Expected outcome:
Bye. Hope to see you again soon!