ℹ️ Notes about the command format:
- Words in UPPER_CASE are the parameters to be supplied by the user.
- e.g., in
deadline TASK_DESCRIPTION /by DATE_TIME,TASK_DESCRIPTIONis a parameter which can be used asdeadline submit_report /by 2024-09-30T10:00.
- e.g., in
- Items in square brackets are optional.
- e.g.,
event TASK_DESCRIPTION /from START_DATE_TIME /to END_DATE_TIMEcan be used asevent meeting /from 2024-09-25 1400 /to 2024-09-25 1600.
- e.g.,
- Parameters can be in any order.
- e.g., if the command specifies
delete INDEX,INDEX deleteis also acceptable.
- e.g., if the command specifies
- Extraneous parameters for commands that do not take in parameters (such as
bye,list, andremind) will be ignored.- e.g., if the command specifies
list extra, it will be interpreted aslist.
- e.g., if the command specifies
Adds a todo item to the task list.
Format: todo TASK_DESCRIPTION
Caution: A task cannot be added without any parameters.
Examples:
todo Buy groceriestodo Complete assignment
Adds a deadline task to the task list.
Format: deadline TASK_DESCRIPTION /by DATE_TIME
Examples:
deadline Submit report /by 2024-09-30 1000deadline Finish project /by 2024-10-01 1500
Adds an event to the task list.
Format: event TASK_DESCRIPTION /from START_DATE_TIME /to END_DATE_TIME
- START_DATE_TIME and END_DATE_TIME must be in the format
yyyy-MM-dd HHmm.
Examples:
event Meeting /from 2024-09-25 1400 /to 2024-09-25 1600event Conference /from 2024-09-28 0900 /to 2024-09-28 1700
❗ Caution: Start time has to be before end time.
Displays all tasks in the task list.
Format: list
Marks a task as completed.
Format: mark INDEX
Examples:
mark 1marks the first task as done.
Unmarks a task, indicating it is not completed.
Format: unmark INDEX
Examples:
unmark 1unmarks the first task.
Finds tasks that contain the specified keywords.
Format: find KEYWORD [MORE_KEYWORDS]
Examples:
find reportreturns all tasks with "report" in the description.find assignment projectreturns tasks matching either keyword.
Lists tasks that are due soon.
Format: remind [DAYS]
Examples:
remind 2shows tasks due in the next 2 days.remindshows tasks due soon without a specified time frame.
Deletes the specified task from the task list.
Format: delete INDEX
Examples:
delete 2deletes the second task.
Exits the chatbot application.
Format: exit
Task data is saved automatically after any command that modifies the data. No manual saving is required.
Task data is saved automatically as a JSON file at [JAR file location]/data/tasks.json. Advanced users can update data directly by editing this file.
Caution: If your changes to the data file make its format invalid, the application will discard all data and start with an empty data file on the next run. It's recommended to back up the file before editing it.

