The chatbot is a task management tool that helps you keep track of your tasks.
todoAdds a new todo task to the task list.
Format: todo DESCRIPTION
Examples:
todo Read a book adds a new todo task with the description “Read a book” to the task list.todo Complete homework adds a new todo task with the description “Complete homework” to the task list.deadlineAdds a new deadline task to the task list.
Format: deadline DESCRIPTION /by DATETIME
Examples:
deadline Read a book /by 20/2/2024 2359 adds a new deadline task with the description “Read a book” and datetime of 20/2/2024 11:59pm to the task list.eventAdds a new event task to the task list.
Format: event DESCRIPTION /from FROM /to TO
Examples:
event sleep /from today /to tmr adds a new event task with the description “sleep” and duration from “today” to “tmr” to the task list.listDisplays all the tasks in the task list.
Format: list
Examples:
list displays all the tasks in the task list.markMarks a task as done in the task list.
Format: mark INDEX
list command.Examples:
done 1 marks the task at index 1 as done in the task list.done 3 marks the task at index 3 as done in the task list.unmarkUnmarks a task as done in the task list.
Format: unmark INDEX
list command.Examples:
unmark 1 unmarks the task at index 1 as not done in the task list.unmark 3 unmarks the task at index 3 as not done in the task list.deleteDeletes a task from the task list.
Format: delete INDEX
Examples:
delete 1 deletes the task at index 1 from the task list.delete 3 deletes the task at index 3 from the task list.findFinds tasks in the task list that match a given keyword.
Format: find KEYWORD
find command only searches for tasks based on their description. It does not search for tasks based on their task type or additional details.Examples:
find book finds all tasks in the task list that contain the keyword “book” in their description.find meeting finds all tasks in the task list that contain the keyword “meeting” in their description.archiveSave current task list into local archives.
Format: archive ARCHIVE_NAME
load command.ARCHIVE_NAME.txt file in local storage.Examples:
archive 1 archives current task list into archive 1 on local storagearchive_listDisplays all the archives in the local storage.
Format: archive_list
Examples:
archive_list displays all the archived task lists in the local storage.loadLoads a previously archived task list from the local storage.
Format: load ARCHIVE_NAME
Warning:
Examples:
load 1 loads the archived task list from archive 1 in the local storage.byeEnds the program and save the current task list to local storages.
Format: bye
Warning:
Examples:
bye displays a goodbye message and ends the program.| Action | Format |
|---|---|
| add todo | todo DESCRIPTION |
| add deadline | deadline DESCRIPTION /by DATE_TIME |
| add event | event DESCRIPTION /from FROM /to TO |
| list | list |
| mark | unmark INDEX |
| unmark | unmark INDEX |
| delete | delete INDEX |
| find | find KEYWORD |
| archive | archive ARCHIVE_NAME |
| archive_list | archive_list |
| load | load ARCHIVE_NAME |
| exit | bye |
Please replace INDEX, KEYWORD, ARCHIVE_NAME, DESCRIPTION, FROM, TO, and DATE_TIME with the specific values you want to use.