This is the user guide for JM's take on the CS2103T greenfield project Duke, a chatbot that uses the Command Line Interface (CLI).
Duke is best run with Java 11.
- Download the jar file
duke.jar
. - Move the jar file to a directory of your choice.
- Under the same directory, create a new folder and name it data.
- Double click on the jar file to run Duke. If the program does not open run it from the terminal with the command
java -jar duke.jar
.
Duke handles your tasks and reminds you of upcoming events/deadlines. Capitalised words denote required parameters.
- Adding tasks
todo
Usage:todo TASK_DESCRIPTION
Adds a simple todo task to Duke's list.deadline
Usage:deadline TASK_DESCRIPTION /by YYYY-MM-DD HH:MM
Adds a task to Duke's list with a deadline.event
Usage:event TASK_DESCRIPTION /at YYYY-MM-DD HH:MM
Adds an event with the time and date of the event to Duke's list.
- List your tasks:
list
Usage:list
Displays the list of all your tasks. - Setting tasks as done:
done
Usage:done POSITION_OF_TASK_IN_LIST_FROM_LIST_COMMAND
Sets a task of your choice to be done. The status of a done task is denoted by the ✔ symbol. - Delete a task:
delete
Usage:delete POSITION_OF_TASK_IN_LIST_FROM_LIST_COMMAND
Deletes a task of your choice. Be careful as this action is irreversible. - Reminder:
reminder
Usage:reminder
Lists upcoming tasks within the week. - Find task by keyword:
find
Usage:find KEYWORD
Finds and lists tasks containing the keyword. - Exit:
bye
Usage:bye
Exits Duke and saves your list to the storage file in the data folder. Duke will save your tasks to the file only if you exit with this command.