- Install Java 11
- Download the jar file from the repo
- Copy the jar file into an empty folder
- Run the command
java -jar {filename}.jar
e.g.,java -jar Duke.jar
(i.e., run the command in the same folder as the jar file) - Enter commands using the GUI
Add 3 different types of tasks to Duke
Tasks can be marked as done or undone.
List down current tasks in the task list
Delete tasks from the task list
Find tasks that contain the input string
Exits the Duke program and closes the GUI.
Example of usage:
bye
Expected outcome:
// program exits, GUI closes, no response returned in the GUI
Adds a deadline task to the task list
Example of usage:
deadline <description> /by yyyy-mm-dd
Expected outcome:
Got it, I've added this task:
[D][ ] <description> (by: MMM d yyyy)
Now you have <number> tasks in the list.
Deletes the given task from the task list. Task is accessed by its index.
Example of usage:
delete <index>
Expected outcome:
Noted. I've removed this task:
<task>
Now you have <number> tasks in the list.
Adds an event task to the task list.
Example of usage:
event <description> /at yyyy-mm-dd
Expected outcome:
Got it, I've added this task:
[E][ ] <description> (at: MMM d yyyy)
Now you have <number> tasks in the list.
Finds all matching tasks with the given argument.
Example of usage:
find <argument>
Expected outcome:
Here are the matching tasks in your list:
<task>
Describe the action and its outcome.
Example of usage:
keyword (optional arguments)
Expected outcome:
Here are your list of tasks!
<task>
You have <number> tasks in the list.
Marks the given task as done. Task is accessed by its index.
Example of usage:
mark <index>
Expected outcome:
If given task was initially marked as undone:
Good job for doing this task!
[<task type>][X] <description>
If given task was initially marked as done:
This task has already been marked done.
[<task type>][X] <description>
Adds a todo task to the task list.
Example of usage:
todo <description>
Expected outcome:
Got it, I've added this task:
[T][ ] <description>
Now you have <number> tasks in the list.
Marks the given task as undone. Task is accessed by its index.
Example of usage:
unmark <index>
Expected outcome:
If given task was initially marked as done:
Task shall be marked as undone.
[<task type>][ ] <description>
If given task was initially marked as undone:
This task has already been marked undone.
[<task type>][ ] <description>