View on GitHub

duke

User Guide

What is Duke

Duke is a Personal Assistant Chatbot that helps you keep track of different tasks as you go about your daily activities.

Duke's User Interface

Features

Add and Delete Tasks

You can add and delete different types of tasks to the chatbot task manager. Currently, there are four types of tasks supported by Duke. These are the tasks you can input into the chatbot, to track your schedule.

Mark Tasks as Done

Any tasks initilly added into the task list will be marked as incomplete. Upon completion, the tasks can easily be marked as done.

List Tasks

Displays the task list with all the tasks you previously added.

Sort Tasks

Sorts the task list according to type or date of completion (if any).

Usage

Keyword - Describe action

todo - Adds a TODO task to the chatbot’s tasklist

Example of usage: ‘todo Borrow books’

Expected outcome: Outcome of command 'todo'

deadline - Adds a DEADLINE task to the chatbot’s tasklist

Example of usage: ‘deadline Submit CS2100 report /by 02/12/2019 1900’

Expected outcome: Outcome of command 'deadline'

event - Adds an EVENT task to the chatbot’s tasklist

Example of usage: ‘event CS2103T team meeting /at 15/09/2019 1500-1800’

Expected outcome: Outcome of command 'event'

fixed - Adds a FIXED DURATION TASK to the chatbot’s tasklist

Example of usage: ‘fixed Do my laundry /needs 2 hours

Expected outcome: Outcome of command 'fixed'

list - Lists all the tasks added to the tasklist

Example of usage: ‘list’

Expected Outcome: Outcome of command 'list'

done - Marks the task corresponding to inputted task number as ‘done’

Example of usage: ‘done 1’

Expected outcome: Outcome of command 'done 1'

delete - Deletes the task corresponding to inputted task number

Example of usage: ‘delete 1’

Expected outcome: Outcome of command 'delete 1'

sort - Sorts the task in the tasklist either according to date / type (as inputted)

Example of usage: ‘sort date’

Expected outcome: Outcome of command 'sort date'