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.helpFormat: help
Displays all possible commands the user can enter.
todoFormat: todo TASK_NAME
Adds a todo with the given TASK_NAME to Duke.
E.g. todo Peer review
eventFormat: 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
deadlineFormat: 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
listFormat: list
Lists all tasks that Duke has stored.
findFormat: 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.
doneFormat: 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.
undoFormat: 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.
deleteFormat: 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.
clearFormat: clear
Deletes all tasks that have been stored in Duke.
byeFormat: 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.