User Guide
Introduction
Duke is an application that allows you to record your daily tasks.
Features
Adding tasks
You can add and classify your tasks into three types: todo, deadline, and event.
Listing out the tasks
Duke lists out the tasks you have added previously.
Adding status to a task
You can mark your task as done or undone.
Deleting a task
You can delete an unwanted task from the existing tasks.
Finding tasks
You can search for tasks based on their descriptions.
Sorting the tasks
You can sort your tasks in the list by time (time which the task has to be done), task type (type of the tasks) and task name (name of the task, in alphabetical order).
Usage
Greeting Duke: hello
or hi
Greets Duke.
- Format:
hello
orhi
Adding a todo task: todo
Adds a todo task to the tasks list.
-
Format:
todo <task descriptions>
-
Example:
todo buy book
Expected outcome:
Got it. I've added this task: [T][x] buy book Now you have 1 task in the list.
Adding a deadline: deadline
Adds a deadline to the tasks list.
Kindly take note that the date and time should be in the format of yyyy-MM-dd HHmm.
-
Format:
deadline <task descriptions> /by <date and time>
-
Example:
deadline submit project /by 2020-02-02 2020
Expected outcome:
Got it. I've added this task: [D][x] submit project (by: Feb 2 2020 20:20) Now you have 2 tasks in the list.
Adding an event: event
Adds an event to the tasks list.
Kindly take note that the date and time should be in the format of yyyy-MM-dd HHmm.
-
Format:
event <task descriptions> /at <date and time>
-
Example:
event birthday party /at 2020-02-18 1900
Expected outcome:
Got it. I've added this task: [E][x] birthday party (by: Feb 18 2020 19:00) Now you have 3 tasks in the list.
Listing the tasks: list
Lists out all the existing tasks.
-
Format:
list
-
Example:
list
Expected outcome:
Here are the tasks in your list: 1. [T][x] buy book 2. [D][x] submit project (by: Feb 2 2020 20:20) 3. [E][x] birthday party (by: Feb 18 2020 19:00)
Marking a task as done: done
Changes the status of a task to done.
-
Format:
done <index>
-
Example:
done 1
Expected outcome:
Nice! I've mark this task as done: [T][/] buy book
Marking a task as undone: undone
Changes the status of a task to undone.
-
Format:
undone <index>
-
Example:
undone 1
Expected outcome:
The task's status has been changed to incomplete: [T][x] buy book
Deleting a task: delete
Removes a task from the tasks list.
-
Format:
delete <index>
-
Example:
delete 1
Expected outcome:
Noted. I've removed this task: [T][x] buy book Now you have 2 tasks in the list.
Finding tasks: find
Finds tasks by their description.
-
Format:
find <keyword>
-
Example:
find project
Expected outcome:
Here are the matching tasks in your list: 1. [D][x] submit project (by: Feb 2 2020 20:20) 2. [D][x] CS2103T project (by: Mar 1 2020 23:59)
Sorting the tasks: sort
Sorting the tasks by time
Sorts the tasks by time, in ascending order.
-
Format:
sort /by time
-
Example:
sort /by time
Expected outcome:
Here are the tasks in your list: 1. [D][x] submit project (by: Feb 2 2020 20:20) 2. [E][x] birthday party (by: Feb 18 2020 19:00) 3. [D][x] CS2103T project (by: Mar 1 2020 23:59) 4. [T][x] buy book
Sorting the tasks by type
Categorizes the tasks by their types.
-
Format:
sort /by task type
-
Example:
sort /by task type
Expected outcome:
Here are the tasks in your list: 1. [D][x] submit project (by: Feb 2 2020 20:20) 2. [D][x] CS2103T project (by: Mar 1 2020 23:59) 3. [E][x] birthday party (by: Feb 18 2020 19:00) 4. [T][x] buy book
Sorting the tasks by name
Sorts the tasks by their names, in alphabetical order.
-
Format:
sort /by task name
-
Example:
sort /by task name
Expected outcome:
Here are the tasks in your list: 1. [E][x] birthday party (by: Feb 18 2020 19:00) 2. [T][x] buy book 3. [D][x] CS2103T project (by: Mar 1 2020 23:59) 4. [D][x] submit project (by: Feb 2 2020 20:20)
Exiting the window: bye
Closes the window.
- Format:
bye
Command Summary
- Greet:
hello
orhi
- Add todo:
todo <task descriptions>
- e.g.
todo buy book
- e.g.
- Add deadline:
deadline <task descriptions> /by <date and time>
- e.g.
deadline submit project /by 2020-02-02 2020
- e.g.
- Add event:
event <task descriptions> /at <date and time>
- e.g.
event birthday party /at 2020-02-18 1900
- e.g.
- List:
list
- Done:
done <index>
- e.g.
done 1
- e.g.
- Undone:
undone <index>
- e.g.
undone 1
- e.g.
- Delete:
delete <index>
- e.g.
delete 1
- e.g.
- Find:
find <keyword>
- e.g.
find project
- e.g.
- Sort by time:
sort /by time
- Sort by task type:
sort /by task type
- Sort by task name:
sort /by task name
- Exit:
bye