ip

User Guide

What is Duke?

Duke, is a Personal Assistant Chatbot that helps you to keep track of various things,
optimized for use via a Command Line Interface (CLI) while still having the benefits of a Graphical User Interface (GUI). The name ‘Duke’ was inspired by Duke, the Java Mascot.

Duke Logo

Quick Start

  1. Ensure you have Java 11 or above installed in your Computer.

  2. Download the latest duke.jar from here.

  3. Copy the file to the folder you want to use as the home folder for your Duke.

  4. 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.
    Ui

  5. Type the command in the command box and press Enter to execute it. e.g. typing list and pressing Enter will show the tasks list.
    Some example commands you can try:

    • list : Lists all tasks.

    • todoread book : Adds a todo task named read book to the tasks list.

    • delete1 : Deletes the 1st task shown in the current list.

  6. Refer to the Features below for details of each command.


Features

:information_source: Notes about the command format:

Lists all tasks: list

Lists all the tasks that is saved in the device.

Adds todo tasks: todo

Save a todo tasks into the list.

Format: todo DESCRIPTION

Example of usage:

todo read book

Adds deadline tasks: deadline

Save a deadline tasks into the list.

Format: deadline DESCRIPTION /by DATE/MONTH/YEAR

Example of usage:

deadline CS2103T User guide /by 21/07/2020

Adds event tasks: event

Save an event tasks into the list.

Format: event DESCRIPTION /at DATE/MONTH/YEAR HOUR:MINUTES

Example of usage:

event Google interview /at 15/06/2020 12:00

Delete a tasks: delete

Delete a task in the list by given index.

Format: delete INDEX

Example of usage:

delete 1

Find keyword: find

Find all matching task by given description.

Format: find DESCRIPTION

Example of usage:

find book

Mark a task as done: done

Mark a task as done by its index.

Format: done INDEX

Example of usage:

done 1

Sort the task list : sort

Sort the task list by date or by description.

Format: sort by date / sort by description

Example of usage:

sort by date or sort by description

Saving the data

Duke’s data are saved in the hard disk automatically after any command that changes the data. There is no need to save manually.