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 deadlinedone
2
: mark task 2 as completedelete
3
: 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.
###help
Format: help
todo
Adds a todo task to the duke +
Format: todo DESCRIPTION
[TIP] A description can be more than a single word
Examples:
todo clean my room
event
Adds 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 2130
event meet duke /at tue
deadline
Adds 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 2359
deadline do math homework /by wed
list
Shows a list of all task in duke.
Format: list
find
Finds persons whose names contain any of the given keywords.
Format: find KEYWORD [MORE_KEYWORDS]
hans
will match Hans
Hans Bo
will match Bo Hans
Examples:
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 John
delete
Deletes 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.
exit
Exits 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.
hello
todo DESCRIPTION
event DESCRIPTION /at DATETIME
+
eg. event sleep /at 01/01/2019 2130
deadline DESCRIPTION /by DATETIME
+
eg. deadline return book /by 01/01/2019 1800
delete INDEX
+ eg. delete 3
list
find KEYWORD [MORE_KEYWORDS]
+ eg. find jiachen
done INDEX
+
eg. done 2
help
exit
This user guide format has been adapted from addressbook level 3