View on GitHub

duke

Starter code for the Duke project

Duck: User Guide

Introduction

Duck is a personal assistant chat bot. It primarily serves as a task manager.

Usage

Command format:

  1. Words in UPPER_CASE are the parameters to be supplied by the user.
  2. Items in square brackets are optional.

Features

1. Adding a to-do task: todo

1.1. Without a time period

Adds a to-do task to the list.

Format: todo TASK_NAME

Examples:

todo

1.2. Within a time period

Adds a to-do task to the list, specifying a date range. Date should be specified in DD-MM-YYYY format.

Format: todo TASK_NAME [/between START_DATE /and END_DATE]

Examples:

todowithinperiod

2. Adding an event task: event

Adds an event task to the list, specifying a date (and optionally, time). Date should be specified in DD-MM-YYYY format. Time should be specified in HH:MM 24-hour format.

Format: event EVENT_NAME /at EVENT_DATE [EVENT_TIME]

Examples:

event

3. Adding a deadline task: deadline

Adds a deadline task to the list, specifying a date (and optionally, time). Date should be specified in DD-MM-YYYY format. Time should be specified in HH:MM 24-hour format.

Format: deadline DEADLINE_NAME /by DEADLINE_DATE [DEADLINE_TIME]

Examples:

deadline

4. Viewing list of tasks: list

Displays the list of tasks, including all information about each task.

Format: list

list

5. Finding a task: find

Displays tasks in which the searched keyword can be found.

Format: find KEYWORD

Example: find Eat

find

6. Marking a task as done: done

Marks a task at a specified index on the list as done. Tasks which are completed are marked as OK! while tasks which are not completed are marked as X.

Format: done INDEX

Example: done 2

done

7. Deleting a task: delete

Deletes a task at a specified index on the list as done.

Format: delete INDEX

Example: delete 5

delete

6. Ending the conversation: bye

Displays a farewell message from Duck.

Format: bye

bye

Command Summary