Asks the chatbot to add a new task to the list and save it to disk. You are expected to specify a date for deadlines and events.
Asks the chatbot to list out your tasks.
Instructs the chatbot to delete the task which you do not want or have completed.
Instructs the chatbot to mark a task as done.
Asks the chatbot to return you all tasks on a given date, to help you quickly find out what needs to be done on a particular day.
Asks the chatbot to return you a list of tasks that contains certain keywords.
Asks the chatbot to return you a list of tasks sorted by earliest or latest date.
Format: list
Shows a list of all tasks managed by the chatbot.
Examples:
list
will list out all tasks by the order they are added.Adds a todo task to the chatbot.
Format: todo <description>
Examples:
todo Walk the dog
adds a todo task with the description Walk the dog.
Adds a deadline to the chatbot.
Format: deadline <description> /by <date>
Examples:
deadline Submit assignment /by 2020-09-10
will add a deadline with a description
Submit assignment
that is due on 10 September 2020.Adds an event to the chatbot.
Format: event <description> /at <date>
Examples:
event Attend sister's wedding /at 2020-10-10
will add an event with a description
Attend sister's wedding
on 10 October 2020.Marks a task as completed.
Format: done <index>
Examples:
done 1
marks the first task in the task list as complete.Deletes a task from the task list.
Format: delete <index>
Examples:
delete 1
will delete the first task in the task list.Finds a task by the specified date.
Format:
date <date>
Examples:
date 2020-10-10
will retrieve all tasks on 10 October 2020.Find tasks which the description contains the given keywords.
Format: find <keyword>
Examples:
find Submit
will retrieve all tasks containing the word Submit
.Sort tasks by latest
or earliest
date, and returns you a list of tasks in that order.
Tasks without a date will be placed at the bottom of the list.
Format: sort /by <descriptor>
Examples:
1. Submit assignment (by 10 Oct 2020)
2. Attend sister's wedding (at 5 Nov 2020)
3. Submit internship application (by 8 Oct 2020)
sort /by latest
will return the following:
1. Attend sister's wedding (at 5 Nov 2020)
2. Submit assignment (by 10 Oct 2020)
3. Submit internship application (by 8 Oct 2020)
sort /by earliest
will return a list of tasks
1. Submit internship application (by 8 Oct 2020)
2. Submit assignment (by 10 Oct 2020)
3. Attend sister's wedding (at 5 Nov 2020)
Exits the program.
Format: bye