By theodoreleebrant
Last Updated 22 September 2020
Duke is a productivity application that helps you manage your tasks in an orderly fashion.
Duke has the following main features:
Duke is optimized for users who are fast typists and prefer typing over other means of input. It comes with:

This User Guide explains how you can use Duke to help you manage your tasks.
You may want to refer to Section 3 (Quick start) for a short tutorial on how to run Duke on your device and use Duke’s main features. For a full walkthrough of Duke, please refer to Section 4 (Features). If you are an experienced CLI user, you can find all the commands available under Section 5 (Command Summary)
This section explains the forma of commands in the User Guide:
Command format:
- Words in
UPPER_CASEare parameters supplied by the user- Parameters starting with
DATEmust either betodayor supplied in this format:dd-MM-yyyy hhmmwhere:
ddis the date as a valid integer (e.g.28,03)MMis the month as a valid integer (e.g.01,12)yyyyis the year as a valid integer (e.g.2020)- (optional)
hhmmis the time in 24 hour format (e.g.1500for 3:00pm)- Parameters in square brackets are optional
Enter to execute it.Duke supports three types of tasks:
In Duke, you can:
Other commands are to:
todo, deadline, eventAdds a task into the list.
There are three types of tasks: Todo, Deadline and Event.
Format:
// add a todo
todo DESCRIPTION
// add a deadline
deadline DESCRIPTION /by DATE_DUE
// add an event
event DESCRIPTION /at DATE_OF_EVENT
The date format is dd/MM/yyyy HHmm, with the default hour being 0000 if omitted.
Example usage:
todo read book
deadline return book /by 28/09/2020
event go to library /at 28/09/2020 1000
Expected outcome:
Got it. I've added this task:
[T][✘] read book
Now you have 1 tasks in the list.
Got it. I've added this task:
[D][✘] return book (by: 28/09/2020 0000)
Now you have 2 tasks in the list.
Got it. I've added this task:
[E][✘] go to library (at: 28/09/2020 1000)
Now you have 3 tasks in the list.
doneMarks a task as done.
Format:
// mark the task with INDEX as done
done INDEX
// mark all tasks as done
done all
Example usage:
done 1
Expected outcome:
Nice! I've marked this task as done:
[T][✓] read book
deleteDeletes a task.
Format:
// delete the task with INDEX
delete INDEX
Example usage:
delete 1
Expected outcome:
Noted. I've removed this task:
[T][✓] read book
Now you have 2 tasks in the list.
listShows a list of all tasks.
Format:
list
Example usage:
// list all tasks
list
Expected outcome:
Here are the tasks in your list:
1.[T][✘] read book
2.[D][✘] return book (by: Sep 28 2020 00:00)
3.[E][✘] go to library (at: Sep 28 2020 10:00)
byeCloses the program. The task data will be automatically saved.
Format:
bye
helpShows the help message
Format:
help
Utility commands
helpbyeAdding tasks
todo <details>deadline <detail> /by <date>event <detail> /at <date>
The date format is dd/MM/yyyy HHmm, with the default hour being 0000 if omitted.Task processing
done <index of task>delete <index of task>list