ip

User Guide

Duke is a desktop app for managing tasks using Command Line Interface (CLI).


Quick start

  1. Ensure you have Java 11 or above installed in your Computer.

  2. Download the latest duke.jar from here.

  3. Copy the file to the folder you want to use as the home folder for your Duke.

  4. Double-click the file to start the app. The GUI similar to the below should appear in a few seconds. Note how the app contains some sample data.
    Ui

  5. Type the command in the command box and press Enter to execute it.
    Some example commands you can try:

    • list : Lists all tasks.

    • tododrink water : Adds a todo task to drink water.

    • done1 : Marks the 1st task shown in the current list as done.

    • delete1 : Deletes the 1st task shown in the current list.

    • bye : Exits the app.

  6. Refer to the Features below for details of each command.


Features

Notes about the command format

Adding a todo task: todo

Adds a todo task to Duke.

Format: todo DESCRIPTION

Examples:

Adding a deadline task: deadline

Adds a deadline task to Duke.

Format: deadline DESCRIPTION /by DATE

Examples:

Adding an event task: event

Adds an event task to Duke.

Format: event DESCRIPTION /at DATE

Examples:

Marking task as done : done

Marks the specified task from Duke as done.

Format: done INDEX

Examples:

Deleting a task : delete

Deletes the specified task from Duke.

Format: delete INDEX

Examples:

Listing all tasks : list

Shows a list of all tasks in Duke.

Format: list

Priority of listing:

  1. deadline/event tasks that are not done, ordered by date.
  2. todo tasks that are not done, by order of addition to Duke.
  3. deadline/event tasks that are done, ordered by date.
  4. todo tasks that are done, by order of being marked as done.

Locating tasks by name: find

Finds tasks whose descriptions contain the given keyword.

Format: find KEYWORD

Examples:

Remind user of tasks due: remind

Reminds user of tasks due within the specified number of DAYS.
When DAYS is not specified, the default number of DAYS is 7.

Format: remind [DAYS]

Examples:

Exiting the program : bye

Exits the program.

Format: bye


Command summary

Action Format, Examples
Add Todo todo DESCRIPTION
e.g., todo drink water
Add Deadline deadline DESCRIPTION /by DATE
e.g., deadline assignment /by 2021-02-16
Add Event event DESCRIPTION /at DATE
e.g., event meeting /at 2020-01-01
Done done INDEX
e.g., done 3
Delete delete INDEX
e.g., delete 3
List list
Find find KEYWORD
e.g., find water
Remind remind [DAYS]
e.g., remind 365
Exit bye