JDK 11
Bot that takes in a list of tasks to do and stores it in a list. Tasks that are done are marked as done with a cross.
list - lists all existing tasks
todo, deadline, event {some task} - creates the respective task, date in yyyy-MM-dd
delete {index} - deletes the respective task
find {keyword} {search type (optional)} - retrieves matching task according to keyword and optional search parameter (p [default, partial search case sensitive], pi [partial case insensitive], f [full exact search])
done {index} - marks task as done
Example of usage:
todo Read book
Expected outcome:
Retrieving the list by typing the string list as input will give: Here are the tasks in your list:
1.[T][] Read book
done 1
Expected Outcome:
Nice! I've marked this task as done:
1.[T][X] Read book
delete 1
Noted. I've removed this task: 1.[T][X] Read book Now you have 0 tasks in your list.
deadline return book /by 2019-06-20
Got it. I've added this task: [D][] return book /by 2019-06-20 Now you have 1 tasks in the list
list
Here are the tasks in your list:
- [D][] return book (by: Jun 20 2019)
find BOOK pi
Here are the matching tasks in your list:
- [D][] return book (by: Jun 20 2019)