ip

Duke User Guide

Duke is a desktop app for managing tasks, optimized for use via a Command Line Interface (CLI) while still having the benefits of a Graphical User Interface (GUI). If you can type fast, Duke can get task management done faster than traditional GUI apps.

Duke can be used for managing three types of tasks:

Quick start

  1. Ensure that 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 app.

  4. Double-click the file to start the app. The GUI similar to the one below should appear in a few seconds.

Ui

  1. Type the command in the command box and click on the Send button to execute it.

Some example commands you can try:

  1. When the Duke app starts up, a data folder will be automatically created in the home folder, if it does not yet exist. Tasks will be saved in a tasks.txt file within this folder so that they can be retrieved the next time that the Duke app is used.

  2. Refer to the Features section below for details of each command.

Features

Notes about the command format:

Viewing tasks: list

Shows a list of tasks currently stored in the data folder.

Format: list

Adding a Todo: todo

Adds a todo to the task list.

Format: todo TODO

  1. There must only be a description provided for each todo.

Examples:

Adding a Deadline: deadline

Adds a deadline to the task list.

Format: deadline DEADLINE /by DATE

  1. There must be a description provided for each deadline.
  2. There must be a date provided for each deadline.
  3. The date must either be in YYYY-MM-DD or YYYY-MM-DD HHMM format.

Examples:

Adding an Event: event

Adds an event to the task list.

Format: event EVENT /at DATE

  1. There must be a description provided for each event.
  2. There must be a date provided for each event.
  3. The date must either be in YYYY-MM-DD or YYYY-MM-DD HHMM format.

Examples:

Deleting specific tasks: delete

Deletes specific tasks from the task list.

Format: delete TASK_NUMBER...

Examples:

Deleting all tasks: delete all

Deletes all the tasks from the task list.

Format: delete all

Marking tasks as done: done

Marks a specific task as done.

Format: done TASK_NUMBER

Examples:

Finding tasks: find

Finds tasks in the task list using a specific keyword.

Format: find KEYWORD

Examples: