User Guide
Duke is a desktop app for tasks, optimized for use via a Command Line Interface (CLI). User will not have to remember task details and it can be found easily with commands.
- Quick start
- Features
- Adding a todo task:
todo - Adding a task with deadline:
deadline - Adding a event:
event - Showing all tasks:
list - Search a task:
find - Mark a task as done:
done - Delete a task:
delete - Help:
help - Exiting the program :
bye
- Adding a todo task:
- FAQ
- Command summary
Quick Start
Prerequisites: JDK 11, update Intellij to the most recent version.
- Ensure Intellij JDK 11 is defined as an SDK, as described here – this step is not needed if you have used JDK 11 in a previous Intellij project.
- Download the latest duke.jar from here.
- Copy the file to the folder you want to use as the home folder.
- Double-click the file to start the app. The GUI will greet you with:
Hi I’m Duke
How can I assist you today?
-
Type the command in the command box and press Enter to execute it. e.g. typing list and pressing Enter will display all task that you have saved so far in the window. Some example commands you can try:
-
todo feed zhuzhu: Add a task to feed zhuzhu
-
deadline return book /by Sunday: Add a task return book and the deadline for the task is Sunday.
-
event dinner /at Mon 7pm: Add a dinner event that happens on Mon 7pm.
-
list: List out all tasks details
-
find dinner: List out all task that contain the word “dinner”
-
done 1: Mark the 1st task as done.
-
delete 3 : Deletes the 3rd task shown in the current list.
-
help: Support details will be shown.
-
bye : Exit the application.
-
-
Duke has auto-save and auto-load function. The list is being save as a text file named “Duke.txt” which is auto created and overwritten in the root folder.
-
Refer to the Features below for details of each command.
Features
Adding a todo task: todo
Add a new task to the list.
Format: [todo] [task name]
Example:
todo wash toilet
Adding a task with deadline: deadline
Add a new task to the list.
Format: [deadline] [task name] [/by] [deadline]
Example:
deadline return book /by Sunday
Adding a event task: event
Add a new task to the list.
Format: [event] [task name] [/at] [when the task happens]
Example:
event dinner /at Mon 7pm
Showing all tasks: list
List out all tasks
Format: [list]
Example:
list
Search for a task: find
List out the tasks based on the keyword
Format: [find] [keyword]
Example:
find dinner
Mark a task as done: done
Mark a task as done using task index
Format: [done] [index]
Example:
done 1
Delete a task: delete
Delete a task from the list
Format: [delete] [index]
Example:
delete 3
Help: help
Get Support
Format: [help]
Exiting the program : bye
Exits the application.
Format: [bye]
Example:
bye