duke

User Guide

1. Introduction

Duke is a light-weight task organiser, helping users to keep track of their deadlines, events, and daily tasks. In addition, all tasks that are managed by Duke are saved in a portable format so that users can easily upload or transfer their tasks to any desktop platform!

2. Features

3. Usage

Command Format

Task Descriptions

Command List

deadline - Add a deadline

Adds a deadline to the task list. A deadline is a task that has a completion date, which must be specified after the /by keyword.

Format: deadline DESCRIPTION /by DATE

Example of usage:

deadline

In blue: Adding a todo with Buy Christmas presents as the DESCRIPTION, and 2020-12-24 as the DATE.

In red: A message confirming that the deadline was added successfully.


event - Add an event

Adds an event to the task list. An event is a task that has a scheduled date and time interval, which must be specified in that order after the /at keyword.

Format: event DESCRIPTION /at DATE START_TIME END_TIME

Example of usage:

event

In blue: Adding a todo with Christmas party as the DESCRIPTION, 2020-12-25 as the DATE, 09:00 as the START_TIME, and 15:00 as the END_TIME.

In red: A message confirming that the event was added successfully.


todo - Add a todo

Adds a todo to the task list. A todo is a task that only has a description.

Format: todo DESCRIPTION

Example of usage:

todo

In blue: Adding a todo with Practise piano as the DESCRIPTION.

In red: A message confirming that the todo was added successfully.


delete - Delete a task

Removes a task from the task list by specifying their position in the current list. To obtain the TASK_ID of a task, use the list command.

Format: delete TASK_ID

Example of usage:

delete

In blue: Deleting task number 1 in the list.

In red: A message confirming that the task deleted successfully.


done - Mark a task as done

Marks a task as done in the task list by specifying their position in the current list. A tick will appear next to the task description to indicate that the task is done. To obtain the TASK_ID of a task, use the list command.

Format: done TASK_ID

Example of usage:

done

In blue: Marking task number 1 in the list as done.

In red: A message confirming that the task was successfully marked as done.


find - Find tasks by keyword

Searches through the list of tasks, and displays all tasks that contain the exact keyword (or phrase) in their description. The keyword used to search is CASE_INSENSITVE, meaning that all the task descriptions and the keyword will be compared in LOWER_CASE.

Format: find KEYWORD

Example of usage:

find

In blue: Finding all tasks that have the keyword christmas.

In red: A message showing a list of tasks containing the CASE_INSENSITIVE keyword christmas.


list - Display the task list

Displays the list of tasks and orders them numerically. Tasks will be listed in the order that they were inserted into the list.

Format: list

Example of usage:

list

In blue: Asking for the list of tasks to be shown.

In red: A message showing the entire list of tasks, ordered numerically from earliest to latest addition.


bye - End the program

Stops the chat-bot from replying. The user can continue to input commands, but they will not be processed. Duke must be restarted in order to process more commands.

Format: bye

Example of usage:

bye

In blue: Asking the bot to stop processing commands.

In red: A message confirming that the chat-bot stopped successfully.