User Guide
Duke is a desktop app for managing your tasks, optimized for use via a Command Line Interface (CLI) while still having the benefits of a Grahpical User Interface (GUI). If you can type fast, Duke can improve your efficiency in managing your tasks.
Quick Start
- Ensure that you have Java
11or above installed in your Computer. - Download the latest Duke.jar from here.
- Copy the file to the folder you want to use as the home folder for your Duke app.
- Double-click the file to start the app. The GUI similar to the below should appear in a few seconds. Note how the app contains some sample data.
- Type the command in the command box and press Enter to execute it.
- Refer to the Features below for details for each command.
Features
Adding a ToDo task: todo
Adds a todo task to the list of the tasks.
Format: todo [TASK]
Example of usage:
todoreturn booktodoread book
Adding a Deadline task: deadline
Adds a task with a dealine to the list of the tasks.
Format: deadline [TASK] /by [DD-MM-YYYY HHMM]
deadline [TASK] /by [YYYY-MM-DD HHMM]
- DD is day, MM is month, YYYY is year, HH is hour in 24H format, MM is minutes
- No other combination of date is allowed except for the mentioned.
Example of usage:
deadlinereturn book /by 4-6-2020 1800deadlineread book /by 2020-6-4 1800
Adding a Event task: event
Adds a event task to the list of the tasks.
Format: event [TASK] /at [TIME]
Example of usage:
eventreturn book /by sundayeventread book /by wednesday
Adding a Recurring task: recurring
Adds a recurring task to the list of the tasks. Task will undo itself automatically with the time and frequency given.
Format: recurring [FREQUENCY] [DESCRIPTION] [TIME]
- Frequency can only be
daily,weekly,monthly. TIMEmust be in 24 hours
Example of usage:
recurringdaily return book 1600recurringweekly return book 1600recurringmonthly return book 1600
Listing all tasks: list
Shows a list of all the tasks.
Format: list
Example of usage:
list
Marking task as done: done
Marks the task as done.
Format: done [TASK NUMBER]
TASK NUMBERmust be an integer.
Example of usage:
done1
Marking task as not done: undo
Marks the task as not done.
Format: undo [TASK NUMBER]
TASK NUMBERmust be an integer.
Example of usage:
undo1
Finding a task: find
Finds a task in the tasklist.
Format: find [TASK NAME]
Example of usage:
findbook
Deleting a task: delete
Deletes a task in the tasklist.
Format: delete [TASK NUMBER]
TASK NUMBERmust be an integer.
Example of usage:
delete1
Exiting the program: bye
Exits the program
Format: bye
Example of usage:
bye
Saving the data
Task data are saved in the hard disk automatically when the command bye is inputted.
Command summary
| Action | Format |
|---|---|
| todo | todo [TASK] |
| deadline | deadline [TASK] /by [DD-MM-YYYY HHMM] deadline [TASK] /by [YYYY-MM-DD HHMM] |
| event | event [TASK] /at [TIME] |
| recurring | recurring [FREQUENCY] [DESCRIPTION] [TIME] |
| list | list |
| done | done [TASK NUMBER] |
| undo | undo [TASK NUMBER] |
| find | find [TASK NAME] |
| delete | delete [TASK NUMBER] |
| bye | bye |