ip

User Guide

Duke program is a Desktop app for recording a list of tasks to do via Command Line Interface (CLI) with the aid of Graphical User Interface (GUI).


Quick start

  1. Ensure you have Java 11 or above install 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 sample data.
    SampleGUI
  5. Type the command in the command box and press Enter to execute it. Some example commands you can try:
    • list: List all tasks.
    • todo laundry: Adds a laundry task to the list of tasks.
    • delete 3: Deletes the 3rd task on the current list.
    • mark 2: Marks the 2nd task on the current list.
    • bye: Terminates the program.
  6. Refer to Features below for details of each command.


Features

Notes about command format:

Listing all tasks: list

Lists all tasks on the list of tasks. Format: list

Adding a task: todo

Adds a todo task to the list of tasks. Format: todo TASK Examples:

Adding a task with deadline: deadline

Adds a task with deadline to the list of tasks. Format: deadline TASK /by DEADLINE

Examples:

Adding an event: event

Adds an event to the list of tasks. Format: event TASK /at DATE

Examples:

Deleting a task: delete

Deletes the specified task from the current list of tasks. Format: delete INDEX

Examples:

Marking a task: mark

Marks the specified task from the current list of tasks. Format: mark INDEX

Examples:

Unmarking a task: unmark

Unmarks the specified task from the current list of tasks. Format: unmark INDEX

Examples:

Setting a priority level for task: priority

Sets the priority level for the specified task. Format: priority INDEX LEVEL

Examples:

Finding a task: find

Finds all task in the list which contains the specified word. Format: find WORD

Examples:

Terminating the program: bye

Saves the current list and ends the program. Format: bye


FAQ

No Questions yet.


Command summary

Action Format, Examples
list list
todo todo TASK
e.g., todo homework
deadline deadline TASK /by DEADLINE
e.g., deadline return book /by Sunday
event event TASK /at DATE
e.g., event project meeting /at Mon 2-4pm
delete delete INDEX
e.g., delete 3
mark mark INDEX
e.g., mark 5
unmark unmark INDEX
e.g., unmark 5
priority priority INDEX LEVEL
e.g., priority 2 high
find find WORD
e.g., find book
bye bye