duke

User Guide

DUKE

One of my favorites!

Carl, a satisfied user

Table of Contents

  1. Introduction
  2. Features
  3. Usage
  4. Commands

Introduction

Behold DUKE! DUKE is a personal assistant chatbot that helps you manage your tasks and activities in your life. With a designed focused largely on a command-line interface (CLI) and augmented with a graphical user interface (GUI), users familiar with the CLI will definitely find DUKE a breeze to use!

Features

Usage

Run DUKE in 3 simple steps:

  1. Install JRE 11 or later.
  2. Download the latest jar file from here.
  3. To run DUKE with the GUI, either:
    • Double-click the jar file, or
    • Do java -jar duke.jar

The above steps are for running DUKE with a GUI. To run DUKE entirely in the terminal without a GUI instead, do java -jar duke.jar -t

Take note that DUKE can only be run without a GUI in Windows Subsystem for Linux (WSL), due to a lack of official support for graphical programs from Microsoft.

Commands

Summary of commands:

Command Description
help Displays the help message.
list Lists all tasks.
todo <description> Adds a new to-do task with the given description.
deadline <description> /by <datetime> Adds a new task with the given description and time of deadline.
event <description> /at <datetime> Adds a new task with the given description and time of event.
delete <index> Deletes the task at the given index.
done <index> Marks the task at the given index as done.
find <keyword> Finds tasks whose description contains the given keyword, and lists them.
bye Quits the program.

help

Displays the help message, which shows the commands available and their basic usage and any other information.

Syntax

help

Example


list

Lists out all tasks currently tracked by DUKE.

Syntax

list

Example


todo

Adds a new task with a description for DUKE to track.

To-do tasks are identified by [T].

Syntax

todo <description>

Example


deadline

Adds a new task with a description and time of deadline for DUKE to track.

Deadline tasks are identified by [D].

Syntax

deadline <description> /by <datetime>

Example


event

Adds a new task with a description time of event for DUKE to track.

Event tasks are identified by [E].

Syntax

event <description> /at <datetime>

Example


delete

Removes a given task from DUKE, so that DUKE will no longer keep track of this task. Tasks are identified by their index numbers as shown in list.

Syntax

delete <index>

Example


done

Marks a given task tracked by DUKE as done. Tasks are identified by their index numbers as shown in list.

Syntax

done <index>

Example


find

Finds and returns all tasks whose description contains the given keyword.

Syntax

find <keyword>

Example


bye

Quits the program gracefully.

Syntax

bye

Example