By: @jiachen247 Since: Jun 2020 Licence: MIT
Duke is for those who prefer to use a desktop app for managing tasks. More importantly, Duke is personal assistant 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, Duke can manage yout tasks faster than traditional GUI apps. Interested? Jump to the «Quick Start» to get started. Enjoy!
11 installed in your Computer.duke.jar here.
help and pressing kbd:[Enter] will open the help window.Some example commands you can try:
hello : say hello to duketodo : add a todo taskevent : add a new eventdeadline : add a new deadlinedone2: mark task 2 as completedelete3 : delete task 3list : list all tasksfind : find taskshelp : ask duke for helpexit : exit duke
Command Format
UPPER_CASE are the parameters to be supplied by the user e.g. in add DESCRIPTION[MORE KEYWORDS] can be used as needed.
###helpFormat: help
todoAdds a todo task to the duke +
Format: todo DESCRIPTION
[TIP] A description can be more than a single word
Examples:
todo clean my roomeventAdds a event task to the duke
Format: event DESCRIPTION /at DATETIME
[TIP]
Datetime has to be in the form dd/MM/yyyy HHmm
Datetime also support natural dates eg mon or monday which will be the next monday from today
Examples:
event sleep /at 01/01/2019 2130event meet duke /at tuedeadlineAdds a deadline task to the duke
Format: deadline DESCRIPTION /by DATETIME
[TIP]
Datetime has to be in the form dd/MM/yyyy HHmm
Datetime also support natural dates eg mon or monday which will be the next monday from today
Examples:
deadline do homework /by 01/01/2019 2359deadline do math homework /by wedlistShows a list of all task in duke.
Format: list
findFinds persons whose names contain any of the given keywords.
Format: find KEYWORD [MORE_KEYWORDS]
hans will match HansHans Bo will match Bo HansExamples:
find John returns both task with john and John Doe as their description.find Betsy Tim John returns any person having names Betsy, Tim, or JohndeleteDeletes the specified task from duke at a specific index.
Format: delete INDEX
INDEX.Examples:
delete 2
Deletes the 2nd task in duke’s task list.
exitExits the program.
Format: exit, quit and bye
Duke task data are saved in 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: Install the app in the other computer and overwrite the empty data file it creates with the file that contains the data of your previous Duke folder.
hellotodo DESCRIPTIONevent DESCRIPTION /at DATETIME+
eg. event sleep /at 01/01/2019 2130deadline DESCRIPTION /by DATETIME +
eg. deadline return book /by 01/01/2019 1800delete INDEX + eg. delete 3listfind KEYWORD [MORE_KEYWORDS] + eg. find jiachendone INDEX +
eg. done 2helpexitThis user guide format has been adapted from addressbook level 3