View on GitHub

duke

User Guide

List tasks

Displays all tasks in the order that they were entered.

Usage

list

Example of usage:

list

Expected outcome:

If there are no tasks in the list:

You have no tasks in the list.

If there are tasks in the list:

1. [T][✓] read book
2. [D][✗] borrow book (by: 21 Sep 2019 12:30 PM)
3. [E][✗] CCA meeting (at: 22 Sep 2019 09:20 AM)

Add a task

todo - Todo Task

Adds a Todo to the task list.

Usage

todo desc

desc - Task description

Example of usage:

 todo join sports club

Expected outcome:

Got it. I've added this task:
  [T][✗] join sports club
Now you have 4 tasks in the list.

deadline - Deadline Task

Adds a Deadline to the task list.

Usage

deadline [desc] –by [deadline]

desc - Task description
deadline - Task deadline
                 - Have to be after tag --by
                 - Have to be in format dd/MM/yyyy HHmm

Example of usage:

deadline borrow book --by 21/09/2019 1200

Expected outcome:

Got it. I've added this task:
    [D][✗] borrow book (by: 21 Sep 2019 12:00 PM)
Now you have 5 tasks in the list.

event - Event Task

Adds an Event to the task list.

Usage

event [desc] –at [event time]

desc - Task description
event time - Event time
                    - Have to be after tag --at
                    - Have to be in format dd/MM/yyyy HHmm

Example of usage:

Valid attributes provided.

event project meeting --at 22/09/2019 0930

Expected outcome:

Got it. I've added this task:
    [E][✗] project meeting (at: 22 Sep 2019 09:30 AM)
Now you have 6 tasks in the list.

Find tasks

Search and displays tasks where task description meet the keyword provided.

Usage

find [keyword]

keyword - Keyword used to find tasks

Example of usage:

find book

Expected outcome:

Here are the matching tasks in your list:
1. [T][✓] read book
2. [D][✗] borrow book (by: 21 Sep 2019 12:30 PM)

Mark tasks as done

Mark tasks as done based on task numbers provided.

Usage

done [task no…]

task no... - 1 or more task numbers

Example of usage:

done 2 3

Expected outcome:

Nice! I've marked this task as done:
    [D][✓] borrow book (by: 21 Sep 2019 12:30 PM)
    [E][✓] CCA meeting (at: 22 Sep 2019 09:20 AM)

Delete tasks

Delete tasks based on task numbers provided.

Usage

delete [task no…]

task no... - 1 or more task numbers

Example of usage:

delete 2 3

Expected outcome:

Noted. I've removed these tasks:
    [D][✓] borrow book (by: 21 Sep 2019 12:30 PM)
    [E][✓] CCA meeting (at: 22 Sep 2019 09:20 AM)
Now you have 1 tasks in the list.

Update tasks

Update task attributes.

Usage

update [task no] {–desc [desc]} {–by [deadline]} {–at [event time]}

Attribute Dscription
task no Task number to update
desc* Task description to update
Have to be after tag --desc
deadline* Deadline to update
Only for Deadline tasks
Have to be after tag --by
Have to be in format dd/MM/yyyy HHmm
event time* Event time to update
Only for Event tasks
Have to be after tag --at
Have to be in format dd/MM/yyyy HHmm

*Only require at least 1 attribute

Example of usage:

update 2 --desc Borrow book --by 22/09/2019 1300

Expected outcome:

Got it. I've updated this task:
    [D][✓] Borrow book (by: 22 Sep 2019 01:00 PM)

Exit application

Usage

bye

Example of usage:

bye

Expected outcome:

Bye. Hope to see you again soon!