Duke Personal Assistant (DPA) is for those who prefer to use a desktop app for managing their to-do list. More importantly, DPA is optimized for those who prefer to work with a Command Line Interface (CLI) while still having the benefits of a Graphical User Interface (GUI). If you can type fast, DPA can get your tasks managed faster than traditional GUI apps. DPA supports 3 types of tasks: Todos, Events, and Deadlines.
Enter
to execute it.
e.g. typing help
and pressing Enter
will open the help window.UPPER_CASE
are the parameters to be supplied by the user e.g. in todo TASK_NAME
, TASK_NAME
is a parameter which can be used as follows: todo Submit Assignment
.help
Format: help
Displays all possible commands the user can enter.
todo
Format: todo TASK_NAME
Adds a todo with the given TASK_NAME
to Duke.
E.g. todo Peer review
event
Format: event EVENT_NAME /at LOCATION
Adds an event with the given EVENT_NAME
and LOCATION
to Duke.
E.g. event CS2103 team meeting /at SoC SR1
deadline
Format: deadline TASK_NAME /by DATE
Adds a deadline with the given TASK_NAME
and DATE
to Duke.
The format of DATE
must be YYYY-MM-DD
.
E.g. deadline math assignment /by 2020-02-20
list
Format: list
Lists all tasks that Duke has stored.
find
Format: find SEARCH_PHRASE
Lists all tasks that contain the input search phrase in the task name. The search phrase is case-insensitive and can search across spaces.
E.g. a task with description return book
can be found by search phrases ReTuRn
or rn bo
.
done
Format: done INDEX
Marks the task at the displayed index as done. The displayed index is the bullet number of the task when viewed with the command list
. The task will now have a tick to represent completion.
undo
Format: undo INDEX
Marks the task at the displayed index as undone. The displayed index is the bullet number of the task when viewed with the command list
. The task will now have a cross to represent uncompletion.
delete
Format: delete INDEX
Deletes the task at the displayed index. The displayed index is the bullet number of the task when viewed with the command list
.
clear
Format: clear
Deletes all tasks that have been stored in Duke.
bye
Format: bye
Exits Duke Personal Assistant.
The all task data is saved the hard disk automatically after any command that changes the data.
There is no need to save manually.
Q: How do I transfer my data to another Computer?
A: Duke uses the data from the text file it creates in the data/duke.txt folder of the directory duke.jar was run from.
Run the app in the other computer and overwrite the duke.txt file with your previous duke.txt file.