ip

Duke is a desktop app for managing tasks, optimized for use via a Command Line Interface (CLI) while still having the benefits of a Graphical User Interface (GUI).


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.

  4. Double-click the file to start the app. The GUI similar to the below should appear in a few seconds.
    Ui

  5. Type the command in the command box and press Enter / Return on your keyboard to execute it. Alternatively, you may press the Enter button on the GUI. e.g. typing todo Defeat Gengar and pressing Enter will add a task named Defeat Gengar to your task list.

    Some example commands you can try:

    • list : Lists all tasks.

    • todoDefeat Gengar : Adds a task named Defeat Gengar to your task list.

    • delete3 : Deletes the 3rd 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 task: todo / event / deadline

Adds a task to the address book.

Format:

Examples:

Listing all tasks : list

Shows a list of all tasks in the task list.

Format: list

Locating tasks by name: find

Find tasks where names and / or dates contain any of the given keywords.

Format: find KEYWORD

Examples:

Sorting the task list : sort

Sorts the task list by task name.

Format: sort SORT_ORDER

Examples:

Marking a task as done: done

Marks the specified task from the task list as done.

Format: done INDEX

Examples:

Deleting a task : delete

Deletes the specified task from the task list.

Format: delete INDEX

Examples:

Exiting the program : bye

Exits the program.

Format: bye

Saving the data

Task list data are saved in the hard disk automatically after any command that changes the data. There is no need to save manually.


Command summary

Action Format, Examples
Add deadline deadline NAME /by DATE
e.g., deadline Save Mudkip /by 2020-09-09
Add event event NAME /at DATE
e.g., event Attend Sobble's birthday /at 2020-12-12
Add todo todo NAME
e.g., todo Defeat Gengar
Delete delete INDEX
e.g., delete 3
Done done INDEX
e.g., done 2
Exit bye
Find find KEYWORD
e.g., find Save
List list
Sort sort SORT_ORDER
e.g., sort asc

Acknowledgements