Duke User Guide
Introduction
Duke application is an offline task management tool that organizes the task list and saves the task data in the local computer’s storage.

Quick Start
-
Ensure you have Java
11or above installed in your computer. -
Download the latest release
duke.jarfrom the GitHub repo. -
Open the finder/file explorer and navigate to the directory where
duke.jaris stored. - Double-click
duke.jarto start the application and the GUI below will appear.

-
Type the command in the input box and press Enter or click the Send button to execute it.
- Refer to Features section to learn all the commands.
Features
Notes about the command format:
- Words in
UPPER_CASEare the parameters to be supplied by the user.
1. Add a Deadline task
Add a Deadline task and save it to the ./data/tasks.txt file.
Usage
deadline TASK_NAME /by DATE - add a Deadline task
Enter the command to add a Deadline task and save it to the ./data/tasks.txt file. The DATE must follow yyyy-mm-dd format.
Example of usage:
deadline CS2103T iP /by 2020-09-18
Expected outcome:
Got it. I've added this task:
[D][✗][MEDIUM] CS2103T iP (by: Sep 18 2020)
Now you have 1 tasks in the list.
2. Add an Event task
Add an Event task and save it to the ./data/tasks.txt file.
Usage
event TASK_NAME /at TIME - add an Event task
Enter the command to add an Event task and save it to the ./data/tasks.txt file.
Example of usage:
event CS2103T iP /at Sep 18, 2359
Expected outcome:
Got it. I've added this task:
[E][✗][MEDIUM] CS2103T iP (at Sep 18, 2359)
Now you have 1 tasks in the list.
3. Add a Todo task
Add a Todo task and save it to the ./data/tasks.txt file.
Usage
todo TASK_NAME - add a Todo task
Enter the command to add a Todo task and save it to the ./data/tasks.txt file.
Example of usage:
todo CS2103T iP
Expected outcome:
Got it. I've added this task:
[T][✗][MEDIUM] CS2103T iP
Now you have 1 tasks in the list.
4. Delete a Task
Delete a Task and update ./data/tasks.txt file.
Usage
delete TASK_NUMBER - delete a Task
Enter the command to delete a Task and update ./data/tasks.txt file.
Example of usage:
delete 1
Expected outcome:
- If there is task associated with the number
1:
Noted. I have removed this task:
[T][✗][MEDIUM] CS2103T iP
Now you have 1 tasks in the list.
- If there is no task associated with the number
1:
The task number is not found
5. Exit Duke application
Exit Duke application.
Usage
bye - exit application
Enter the command to exit and close Duke application.
Example of usage:
bye
Expected outcome:
Bye. See you again soon!
The application will be closed.
6. Find Task
Find the tasks based on the query keyword.
Usage
find KEYWORD - find the tasks
Enter the command to search for the tasks and display the found tasks.
Example of usage:
find CS2103T
Expected outcome:
- If there is task associated with the keyword
CS2103T:
Here are the matching tasks in your list:
1.[T][✗][MEDIUM] CS2103T iP
- If there is no task associated with the keyword
CS2103T:
No task found...
7. List Task
List all the saved tasks from ./data/tasks.txt file.
Usage
list - list all the saved tasks
Enter the command to display all the tasks.
Example of usage:
list
Expected outcome:
- If there is task:
Here are the tasks in your list:
1.[T][✗][MEDIUM] CS2103T iP
- If there is no task:
No task added yet...
8. Mark a Task as done
Mark a Task as done and update ./data/tasks.txt file.
Usage
done TASK_NUMBER - mark the Task as done
Enter the command to mark the Task as done and update ./data/tasks.txt file.
Example of usage:
done 1
Expected outcome:
- If there is task associated with the number
1:
Nice! I have marked this task as done:
[T][✓][MEDIUM] CS2103T iP
- If there is no task associated with the number
1:
The task number is not found
9. Prioritise a Task
Mark a Task priority and update ./data/tasks.txt file.
Usage
priority TASK_NUMBER PRIORITY_LEVEL - mark the Task priority
Enter the command to mark the Task priority and update ./data/tasks.txt file.
Priority level:
1: low2: medium (default)3: high
Example of usage:
priority 1 3
Expected outcome:
- If there is task associated with the number
1:
Nice! I have updated the task priority: HIGH
[T][✓][HIGH] CS2103T iP
- If there is no task associated with the number
1:
The task number is not found
Command Summary
| Action | Format, Example |
|---|---|
| Bye | bye |
| Deadline | deadline TASK_NAME /by DATE e.g. deadline CS2103T iP /by 2020-09-18 |
| Delete | delete TASK_NUMBER e.g. delete 1 |
| Done | done TASK_NUMBER e.g. done 1 |
| Event | event TASK_NAME /at TIME e.g. event CS2103T iP /at Sep 19, 2359 |
| Find | find KEYWORD e.g. find CS2103T |
| List | list |
| Priority | priority TASK_NUMBER PRIORITY_LEVEL e.g. priority 1 3 |
| Todo | todo TASK_NUMBER e.g. todo 1 |