User Guide
1. Introduction
Duke is an interactive To-Do List.
2. Quick Start
- Download the
duke.jarfile here. - Copy the file to the folder you want to use.
- Double click the file to start the app.
3. Features
Command Format
- Words in
UPPER_CASEare the parameters to be supplied by the user. e.g. intodo TASK,TASKis a parameter which can be used astodo buy snacks
3.1. Adding a todo task: todo
Format: todo TASK
Examples:
todo eat- Adds a todo task with the description
eat
- Adds a todo task with the description
3.2. Adding a deadline task: deadline
Format: deadline TASK /by DATE
DATEis in the formatyyyy-mm-dd
Examples:
deadline homework /by 2020-10-10- Adds a deadline task
homeworkwith the deadline10 Oct 2020
- Adds a deadline task
3.3. Adding an event task: event
Format: event TASK /at DATE
DATEis in the formatyyyy-mm-dd
Examples:
event meeting /at 2020-10-10- Adds an event task
meetingwith the date10 Oct 2020
- Adds an event task
3.4. Listing all tasks: list
Shows a list of all tasks.
Format: list
3.5. Marking a task as done: done
Marks a task at the specified index as done.
Format: done INDEX
INDEXhas to be a positive integer.
Example:
done 3- Marks the third task as done.
3.6. Deleting a task: delete
Deletes the task at the specified index.
Format: delete INDEX
INDEXhas to be a positive integer.
Example:
delete 3- Deletes the third task in the list.
3.7. Finding tasks by keyword: find
Finds and lists all tasks that contain the specified keyword.
Format: find KEYWORD
Example:
find afternoon- Returns a list of all tasks that contain the word
afternoon
- Returns a list of all tasks that contain the word
3.8. Sorting tasks: sort
Sorts the tasks according either chronological order or description, depending on the type of task given.
Format: sort TYPE
TYPEcan be either one oftodos,deadlinesorevents- If
sort todosis entered, todo tasks will be sorted by description. - If
sort deadlinesorsort eventsis entered, deadline tasks or event tasks will be sorted by chronological order.
Example:
sort deadlines- Returns a list of deadline tasks sorted by chronological order.