This is a programme that can help you manage your tasks. 'The task list you stored before will be re-loaded everytime you use this programme'
The task form accepted have 3 types
- Todo : basic Task with no time element
- Event : Task that is arranged at certain time
- Deadline : Task that has a deadline
Commands you can give to this programme:
- Add tasks:
- todo : add a todo task
- event /at : add an event task
- deadline /by : add a deadline task
- Mark the task as done: done : mark the task at index 'index' as done
- Delete a task:delete : delete the task at index 'index'
- Show the list: list
- Close the program: bye
- Show the information of all possible commands: help
Welcome information
Hello from
____ ________
| _ \ | | | | |__ __|
| |_| | | | | | | |
|____/ | | | | | |
| |\ \ | | | | | |
| | \ \ | |___| | -- --
|_| \ \\ _____ / | ____|
-
After seeing the welcome information, you can type in the command you want based on the "help information"
-
Regarding the tasks type "deadline" & "event", the programme accept dates in a format such as yyyy-mm-dd.
-
Errors are handled by reflecting error information and exit the programme. Possible errors handled in this programme:
- Empty Task Error:The description of task is empty
- Invalid Date Error: The inputted time format for "Deadline" & "event" task is wrong
- Invalid Input Error: Reveal errors in commands that don't follow the format; Invalid command
- Missing Para Error: The information given is not enough for task type required
- Out Of Range Error: User ask to delete/mark as done a task that beyond the number of tasks stored
-
List is shown in the format:
where "T" - Todo task "D" - Deadline task "E" - Event task "X" - task is done
1.[T][X] read book
2.[D][ ] return book (by: June 6th)
3.[E][ ] project meeting (at: Aug 6th 2-4pm)
4.[T][X] join sports club
5.[T][ ] borrow book