User Guide
Features
- Adding a task, such as todo, event, deadline, to Duke
- Listing all tasks added
- Deleting a task added
- Marking a task added as done
- Finding tasks by searching a keyword
- Updating the by date of a deadline added
- Exiting Duke
Usage
Adding a todo: todo <description>
Adds a todo with the given description to Duke.
Example of usage:
todo complete quiz
Expected outcome:
Adding an event: event <description> /at <date>
Adds an event with the given description and event date to Duke.
- Do kindly note that Duke does not understand the date entered for events.
It will just display the entered date as it is.
Example of usage:
event party /at this sunday
Expected outcome:
Adding a deadline: deadline <description> /by <date>
Adds a deadline with the given description and by date to Duke.
- Do kindly note that Duke understands the date entered for deadlines.
Thus, date entered has to be valid and follow ayyyy-mm-dd
format, e.g.2021-02-17
.
Example of usage:
deadline quiz /by 2021-02-17
Expected outcome:
Listing all tasks added: list
Lists all tasks added to Duke so far.
Example of usage:
list
Expected outcome:
Deleting a task: delete <task index>
Deletes a task with the given task index as shown in list.
- Do kindly note that the task index given must be valid.
Example of usage:
delete 1
Expected outcome:
Marking a task as done: done <task index>
Marks a task with the given task index as done.
- Do kindly note that the task index given must be valid.
Example of usage:
done 1
Expected outcome:
Finding tasks by searching a keyword: find <keyword>
Finds all tasks with description containing the given keyword.
Example of usage:
find quiz
Expected outcome:
Updating the date of a deadline: update <deadline index> <new date>
Updates the date of a deadline (with the given task index) to the given new date.
- Do kindly note that the task index given must be valid and referring to a deadline,
the new date must be valid and follows a
yyyy-mm-dd
format, e.g.2021-02-17
. - Do kindly note that there must be a whitespace between
<deadline index>
and<new date>
. Otherwise, it will be understood as an invalid task index. - E.g.
update 22010-01-01
is not allowed, butupdate 2 2010-01-01
is allowed.
Example of usage:
update 2 2020-01-01
Expected outcome:
Exiting Duke: bye
Exits the program.
Example of usage:
bye
Expected outcome: