There is three type of task in this program:
- Todo task: A task with description.
- Deadline task: A task with deadline and description.
- Event task: A task with start date, end date and description.
User can add and delete these task.
User can mark a task as done and unmark a task as not done.
Task list data are saved in the hard disk automatically after any command that changes the data.
There is no need to save manually.
User can find a task with certain keyword or list out all the tasks.
User are not allowed to add the exact same task into task list.
Adds a todo task into task list.
Format: todo DESCRIPTION
Example of usage:
todo read book
Expected outcome:
Got it, I've added this task:
[T][] read book
Now you have 6 tasks in the list.
Adds a deadline task into task list.
Format: deadline DESCRIPTION /by YYYY-MM-DD
Examples of usage:
deadline return book /by 2023-09-03
Expected outcome:
Got it, I've added this task:
[D][] return book (by: Sep 3 2023)
Now you have 7 tasks in the list.
Adds a event task into task list.
Format: event DESCRIPTION /from YYYY-MM-DD /to YYYY-MM-DD
Example of usage:
event exam /from 2023-09-03 /to 2023-09-13
Expected outcome:
Got it, I've added this task:
[E][] exam (from: Sep 3 2023 to: Sep 13 2023)
Now you have 8 tasks in the list.
Finds task where its description contain any of the given keywords.
Format: find KEYWORD
Example of usage:
find book
Expected outcome:
Here are the matching tasks in your list:
1.[T][] read book
2.[D][] return book (by: Sep 3 2023)
Lists all the tasks that you have add inside the task list.
Format: list
Expected outcome:
Here are the tasks in your list:
1.[T][] read book
2.[D][] return book (by: Sep 3 2023)
3.[E][] exam (from: Sep 3 2023 to: Sep 13 2023)
Mark the specified task from task list as done.
Format: mark INDEX
Example of usage:
mark 1
Expected outcome:
Nice! I've marked this task as done:
[T][] read book
Unmark the specified task from task list as not done.
Format: unmark INDEX
Example of usage:
unmark 2
Expected outcome:
OK, I've marked this task as not done yet:
[T][] read book
Delete the specified task from task list.
Format: delete INDEX
Example of usage:
delete 2
Expected outcome:
Noted. I've removed this task:
[T][] read book
Now you have 7 tasks in the list.
Exits the program.
Format: exit