User Guide
Short introduction
- Duke features adding of three types of task:
todo deadline event
. - Duke is also able to
delete
existing task,find
specific task from a populated list of task and mark task asdone
. - In addition, Duke is able to convert user input description of
deadline
andevent
task if date-time is of the formatyyyy-mm-dd
Features
Usage
Adding a task: todo
Adds a new task to Duke.
Format: todo task
Example of usage: todo CS2113T tutorial 5
Expected outcome:
Got it . I've added this task:
[T][✘] CS2113T tutorial 5
Now you have x tasks in the list.
Adding a deadline: deadline
Adds a new task with deadline to Duke.
Format: deadline task /by description of task
Example of usage: deadline CS2113T tutorial 5 /by 2020-05-25 6.00pm
Expected outcome:
Got it . I've added this task:
[D][✘] CS2113T tutorial 5 (by: 5 MAY 2020, MONDAY 6.00pm)
Now you have x tasks in the list.
Adding an event: event
Adds a new event task to Duke.
Format: event task /at description
Example of usage: event CS2113T oral presentation /at 2020-03-01 1.00pm
Expected outcome:
Got it . I've added this task: <br>
[E][✘] CS2113T oral presentation (at: 3 MARCH 2020, SUNDAY 1.00pm)
Now you have x tasks in the list.
Listing all tasks : list
Shows all the tasks user has typed into.
Example of usage: list
Expected outcome:
Here are the tasks in your list:
1 .[T] Task 1
2 .[D] Task 2
Marking a task as complete: done
Mark a specific task that user has typed in as completed.
Format: done index
Example of usage: done 1
Expected outcome:
Nice! I've marked this task as done:
[T] Task 1
- A tick[✔] will be shown instead of a cross[✘] to indicate task is completed.
- index must be within the range of the displayed task
list
- index must start from 1
Deleting a task: delete
Deletes a specific task from the list
of task.
Format: delete index
Example of usage: delete 1
Expected outcome:
Noted, I've removed this task:
[D] Task 1
- index must be within the range of the displayed task
list
- index must start from 1
Locating a certain task: find
Find all the tasks which contains the keyword that user has typed in.
Format: find keyword [more keyword]
Example of usage: find CS2113T oral
Expected outcome:
Here are the matching task/s in your list:
[D] Task 1
[T] Task 2
- Tasks containing at least one of the keyword would be displayed.
- Order of keyword matters:
find john roe
is not equivalent tofind roe john
Exiting the program: bye
Ends the Duke application.
Example of usage: bye
Saving the task list
- Duke automatically saves the task list into your OS home directory under
/savedTasks.txt
- Duke automatically loads the task list from previous session if the file
/savedTasks.txt
exist in your home directory.