Duke chat bot is for people in need to manage their daily tasks via CLI.
Java 11 or above installed in your Computer.duke.jar.duke.jar to start the application.Todo - Add a todo taskStore a todo task which does not have time constraint.
Format: todo TASK_NAME
Example of usage:
todo sampleTask creates the sampleTask in the task list.
Event - Add an event taskStore an event task which needs to be done at a scheduled time.
Format: event TASK_NAME /at SCHEDULED_TIME
SCHEDULED_TIME follows the format ‘YYYY-MM-DD’.Example of usage:
even sampleEvent /at 2020-03-12 creates the sampleEvent in the task list.sampleEvent is to be done at March 12, 2020.
Deadline - Add a deadline taskStore a deadline task which needs to be done before a scheduled time.
Format: deadline TASK_NAME /by SCHEDULED_TIME
SCHEDULED_TIME follows the format ‘YYYY-MM-DD’.Example of usage:
deadline sampleDeadline /by 2020-11-12 creates the sampleDeadline in the task list.sampleDeadline is to be done before Nov 12, 2020.
List - Display the list of tasksGenerates the entire list of tasks stored in the app.
Format: list
[TASK_TYPE][COMPLETION_INDICATOR]TASK_NAME ([TASK_SCHEDULE]).TASK_TYPE can be T (Todo) / E (Event) / D (Deadline).COMPLETION_INDICATOR shows whether the task has been completed, a ✓ means done, a ✘ means not done.TASK_SCHEDULE is optional.Example of usage:
list returns all tasks’ information presented nicely.
Done - Complete a taskMark a task in the list as completed.
Format: done TASK_INDEX
TASK_INDEX is an integer between 1 and length of list.Example of usage:
done 1 updates the status of the first task as “done”, represented as ✓.
Delete - Delete a taskDelete a task in the list by its index.
Format: delete TASK_INDEX
TASK_INDEX is an integer between 1 and length of list.Example of usage:
delete 1 delete the first task from the list.
Find - Search for relevant tasksFind the tasks containing certain keywords specified by the user.
Format: find KEYWORD
KEYWORD is limited to 1 word.Example of usage:
find sample returns all tasks whose name contain the word 'sample'.sampleEvent and sampleDeadline.
Reminder - Get notified of upcoming dueRemind the use the upcoming events/deadlines sorted by their schedule.
Format: remind TASK_NUMBER
TASK_NUMBER is amount of upcoming tasks the user wants to know.Example of usage:
remind 1 returns the earliest 1 task the user hasn’t completed.sampleEvet, which should be done at March 12, 2020. The output also shows [Schedule past!] to remind user this event has past and not been done.