User Guide

Features

  1. Adding a task, such as todo, event, deadline, to Duke
  2. Listing all tasks added
  3. Deleting a task added
  4. Marking a task added as done
  5. Finding tasks by searching a keyword
  6. Updating the by date of a deadline added
  7. 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:

todo demo

Adding an event: event <description> /at <date>

Adds an event with the given description and event date to Duke.

Example of usage:

event party /at this sunday

Expected outcome:

event demo

Adding a deadline: deadline <description> /by <date>

Adds a deadline with the given description and by date to Duke.

Example of usage:

deadline quiz /by 2021-02-17

Expected outcome:

deadline demo

Listing all tasks added: list

Lists all tasks added to Duke so far.

Example of usage:

list

Expected outcome:

list demo

Deleting a task: delete <task index>

Deletes a task with the given task index as shown in list.

Example of usage:

delete 1

Expected outcome:

delete demo

Marking a task as done: done <task index>

Marks a task with the given task index as done.

Example of usage:

done 1

Expected outcome:

done demo

Finding tasks by searching a keyword: find <keyword>

Finds all tasks with description containing the given keyword.

Example of usage:

find quiz

Expected outcome:

find demo

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.

Example of usage:

update 2 2020-01-01

Expected outcome:

update demo

Exiting Duke: bye

Exits the program.

Example of usage:

bye

Expected outcome:

exit demo