Duke-it is a desktop application for managing tasks by typing commands, while also having a Graphical User Interface (GUI).
- Bye - exits the application
- Deadline - creates a new deadline task
- Delete - deletes a task
- Done - marks a task as complete
- Event - creates a new event task
- Find - finds task containing given keywords
- Help - lists all available commands
- List - lists all tasks
- Todo - creates a new todo task
- Sort - sorts the task list by oldest date first
Exits the application.
Usage
Example of usage:
bye
Expected outcome:
Bye. Hope to see you again soon!
and subsequently the app closes.
Creates a new deadline task with the associated due date. The specified date must follow the format dd-MM-yyyy HHmm
.
Usage
Example of usage:
deadline Math homework /by 20-09-2020 2359
Expected outcome:
I've added this task:
[D][✘] Math homework (by: 20 Sep 2020 23:59)
Now you have 1 tasks in the list
Deletes a task at an index. The specified index must be in the range of the task list size.
Usage
Example of usage:
delete 1
Expected outcome:
Noted. I've removed this task:
[D][✘] Math homework (by: 20 Sep 2020 23:59)
Now you have 4 tasks in the list.
Marks a task at an index as completed. The specified index must be in the range of the task list size.
Usage
Example of usage:
done 4
Expected outcome:
Nice! I've marked this task as done:
[T][✓] Buy groceries
Creates a new event task with the associated event date. The specified date must follow the format dd-MM-yyyy HHmm
.
Usage
Example of usage:
event Birthday /at 06-05-2020 0000
Expected outcome:
I've added this task:
[E][✘] Birthday (at: 06 May 2020 00:00)
Now you have 5 tasks in the list.
Finds and displays tasks containing given keywords. Keywords is case sensitive. Multiple keywords can be specified using ~ as a separator.
Usage
Example of usage:
find Math ~ Clean ~ Medicine
Expected outcome:
Here are the tasks in your list that contain
"Math"
"Clean"
"Medicine"
1. [E][✓] Math exam (at: 20 Nov 2020 19:00)
2. [T][✘] Clean room
Displays all available commands.
Usage
Example of usage:
help
Expected outcome:
Here are all the available commands:
bye
deadline <description> /by <date>
delete <task index>
done <task index>
event <description> /at <date>
find <keywords separated by ~>
help
list
todo <description>
sort
List all tasks.
Usage
Example of usage:
list
Expected outcome:
1.[E][✓] Math exam (at: 20 Nov 2020 19:00)
2.[T][✘] Clean room
3.[D][✘] Homework (by: 14 Sep 2020 23:59)
4.[T][✘] Buy groceries
5.[E][✘] Birthday (at: 06 May 2020 00:00)
Creates a new todo task without any specified date.
Usage
Example of usage:
todo Buy groceries
Expected outcome:
I've added this task:
[T][✘] Buy groceries
Now you have 6 tasks in the list.
Sorts the task list by earliest date first. If the task has no date (todo tasks), they are placed at the end.
Usage
Example of usage:
list
sort
list
Expected outcome:
1.[E][✓] Math exam (at: 20 Nov 2020 19:00)
2.[T][✘] Clean room
3.[D][✘] Homework (by: 14 Sep 2020 23:59)
4.[T][✘] Buy groceries
5.[E][✘] Birthday (at: 06 May 2020 00:00)
Your task list has been sorted!
1.[E][✘] Birthday (at: 06 May 2020 00:00)
2.[D][✘] Homework (by: 14 Sep 2020 23:59)
3.[E][✓] Math exam (at: 20 Nov 2020 19:00)
4.[T][✘] Clean room
5.[T][✘] Buy groceries