ip

User Guide

Duke screenshot

Duke is a chatbot for keeping track of tasks and events. Duke can run as either a graphical (default) or command line program.

Quick start

  1. Install Java 11 or later on your computer.
  2. Download the latest JAR file for Duke (duke.jar) from the releases page.
  3. To start Duke as a graphical program, either double-click on the JAR file, or by run java -jar duke.jar in the terminal. To start Duke as a command line program instead, run java -jar duke.jar cli in the terminal.
  4. Type a command into the input box and press Enter to start using Duke!

Format of this guide

Features

Adding a to do: todo

Adds a task to be done to the list.

Format: todo DESCRIPTION

Adding a deadline: deadline

Adds a task with a deadline to the list.

Format: deadline DESCRIPTION /by DATE [TIME]

Adding an event: event

Adds an event with a start and end time to the list.

Format: event DESCRIPTION /at START_DATE [START_TIME]-END_DATE [END_TIME]

Displaying all items in list: list

Displays all tasks and events currently in the list.

Format: list

Marking an item as done: done

Marks an item in the list as done.

Format: done NUMBER

Deleting an item: delete

Removes an item from the list.

Format: delete NUMBER

Editing an item: edit

Edits an item in the list.

Format: edit NUMBER FIELD NEW_VALUE

Finding an item: find

Finds and displays items containing the given phrase.

Format: find KEYWORD

Exiting Duke: bye

Exits the application.

Format: bye

Saving the list

Duke automatically saves the task list after any changes, so there is no need to save manually. The task list is saved in the file data/tasks.txt, which is relative to the directory that the JAR file for Duke is in.