ip

Duke User Guide

Features

ToDo

Adds a ToDo task to your list.

Usage

todo [task description]

Creates a ToDo task with specified description and adds it to your list.

Example of usage:

todo homework

Expected outcome:

Got it! Task added to your list.
    [T][X] homework
Now you have x tasks in your list.


Deadline

Adds a Deadline task to your list.

Usage

deadline [task description] /by [date]

Creates a Deadline task with specified description and time and adds it to your list.

Example of usage:

deadline assignment /by 19/04/2020 2359

Expected outcome:

Got it! Task added to your list.
    [D][X] assignment (by: 19 Apr 2020 11:59pm)
Now you have x tasks in your list.

Note:
Valid date formats : dd-mm-yyyy, dd-mm-yyyy hhhh, dd/mm/yyyy, dd/mm/yyyy hhhh. Any other formats will be read as String.


Event

Adds an Event task to your list.

Usage

event [task description] /at [date]

Creates an Event task with specified description and time and adds it to your list.

Example of usage:

event concert /at 19/04/2020 1159

Expected outcome:

Got it! Task added to your list.
    [E][X] concert (at: 19 Apr 2020 11:59am)
Now you have x tasks in your list.

Note:
Valid date formats : dd-mm-yyyy, dd-mm-yyyy hhhh, dd/mm/yyyy, dd/mm/yyyy hhhh. Any other formats will be read as String.


List

Shows a list of all your tasks.

Usage

list

Lists all tasks.

Example of usage:

list

Expected outcome:

Here are your tasks:
1. [T][X] homework
2. [D][X] assignment (by: 19 Apr 2020 11:59pm)
3. [E][X] concert (at: 19 Apr 2020 11:59am)


Done

Marks task as completed with a [ / ].

Usage

done [index]

Marks task at the specified index as done.

Example of usage:

done 1

Expected outcome:

Nice! I have marked this task as done:
    [T][/] homework

Note:
Index is as specified by list function.


Delete

Removes specified task from list.

Usage

delete [index]

Deletes task at the specified index.

Example of usage:

delete 1

Expected outcome:

Okay! I have removed this task:
    [T] homework
Now you have x tasks in your list

Note:
Index is as specified by list function.


Clear

Deletes task list.

Usage

clear

Deletes entire task list.

Example of usage:

clear

Expected outcome:

Task list cleared!


Find

Finds task list using keyword/phrase.

Usage

find [keyword/phrase]

Prints a sublist of tasks that contain the specified
keyword/phrase.

Example of usage:

find math

Expected outcome:

Here are your matching tasks:
1. [D][X] math homework (by: Sep 28 2020)
2. [D][X] math assignment (by: Sep 30 2020)
3. [E][X] math lecture (at: Sep 25 2020, 03:00pm)

If unsuccessful find:
Sorry! There are no tasks that match that description.


Edit

Edits a specified task with a new field.

Usage

edit 1 [/d or /t] [new field]

Edits a task at the specified index with a new field.
Tag “/d” to edit description.
Tag “/t” to edit time.

Example of usage:

edit 1 /d math hw 1 section b

Expected outcome:

Okay! I have edited this task:
    ===> [D][X] math homework (by: Sep 28 2020)
    <=== [D][X] math hw 1 section b (by: Sep 28 2020)

Example of usage:

edit 1 /t 29/09/2020 2359

Expected outcome:

Okay! I have edited this task:
    ===> [D][X] math homework (by: Sep 28 2020)
    <=== [D][X] math homework (by: Sep 29 2020, 11:59pm)