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). If you can type fast, Duke can get task management done faster than traditional GUI apps.
Duke can be used for managing three types of tasks:
Ensure that you have Java 11 or above installed in your Computer.
Download the latest duke.jar
from here.
Copy the file to the folder you want to use as the home folder for your Duke app.
Double-click the file to start the app. The GUI similar to the one below should appear in a few seconds.
Some example commands you can try:
list
: Lists all tasks.
todo borrow book
: Adds the Todo task borrow book
to the task list.
delete all
: Deletes all tasks.
When the Duke app starts up, a data
folder will be automatically created in the home folder,
if it does not yet exist. Tasks will be saved in a tasks.txt
file within this folder so that they
can be retrieved the next time that the Duke app is used.
Refer to the Features section below for details of each command.
Notes about the command format:
...
after them can be used at least one time.
e.g. find TASK_NUMBER...
can be used as find 1
, find 1 2
, etc. find
is not allowed.list
Shows a list of tasks currently stored in the data
folder.
Format: list
todo
Adds a todo to the task list.
Format: todo TODO
Examples:
todo borrow book
todo go to the library
deadline
Adds a deadline to the task list.
Format: deadline DEADLINE /by DATE
Examples:
deadline finish homework /by 2020-10-10
deadline return library book /by 2020-12-02 2359
event
Adds an event to the task list.
Format: event EVENT /at DATE
Examples:
event attend concert /at 2020-09-28 1600
event project meeting /at 2020-09-15
delete
Deletes specific tasks from the task list.
Format: delete TASK_NUMBER...
list
.Examples:
delete 1
delete 3 1 2
delete all
Deletes all the tasks from the task list.
Format: delete all
done
Marks a specific task as done.
Format: done TASK_NUMBER
list
.Examples:
done 1
done 10
find
Finds tasks in the task list using a specific keyword.
Format: find KEYWORD
Examples:
find homework
find by