- Ensure a minimum of Java 11 is installed on your computer.
- Download the latest Duke release from here.
- Place the jar file at the directory where you wish to use as the home directory for duke.
- Run Duke.jar to start the chatbot.
- Start using Duke by typing the commands in the textbox.
- Words in
UPPER_CASE
are the parameters to be supplied by the user. e.g. intodo n/TASK
,TASK
is a parameter which can be used astodo Revise CS2100 Midterms
Adds a todo task.
Format: todo TASK
Example:
todo Revise CS2100 Midterms
Adds an event task.
Format: event TASK /at YYYY-MM-DD
Example:
event return book /at 2019-12-01
Adds a deadline task.
Format: deadline TASK /by YYYY-MM-DD
Example:
deadline submit iP /by 2022-09-16
Lists all tasks.
Format: list
Marks a task as done.
Format: mark INDEX
- Marks the task at the specified
INDEX
. - The index refers to the index number shown in the displayed task list.
- The index must be a positive integer 1, 2, 3, ...
Example:
mark 1
Unmarking a task.
Format: unmark INDEX
- Umarks the task at the specified
INDEX
. - The index refers to the index number shown in the displayed task list.
- The index must be a positive integer 1, 2, 3, ...
Example:
unmark 1
Deleting a task.
Format: delete INDEX
- Deletes the task at the specified
INDEX
. - The index refers to the index number shown in the displayed task list.
- The index must be a positive integer 1, 2, 3, ...
Example:
delete 1
Find tasks whose description contain any of the given keywords.
Format: find KEYWORD
- The search is case-sensitive. e.g
book
will not matchBook
- Partial words will be matched. e.g
re
will matchreturn
andread
Example:
find revise
Archives existing tasks and start afresh. Save file can be located at data/archive-dd-mm-yyyy-hh-mm-ss
Format: archive
Bids farewell to Duke as affirmation for his efforts. Does not terminate Duke, please use the "X" on the top right corner of the GUI to terminate.
Format: bye