Duke is a chat bot that helps user manage their task list.
It has the ability to create, read, update and delete a task
in the task list depending on the command given by the user.
Ensure you have Java 11
installed.
Command Format
todo TASK_DESCRIPTION
, TASK_DESCRIPTION
is a parameter and can be used as todo read book
.dd/MM/YYYY HHmm
, dd
represents day, MM
represents month,
YYYY
represents year, HH
represents hour and mm
represents minute. E.g. 12/12/2019 2200
.INDEX
is the parameter to be supplied by the user and they have to be integer number. eg.
delete INDEX
can be used as delete 3
.
todo
, deadline
, event
1. Adds a ToDo task with the given description into tasklist.
Format: todo TASK_DESCRIPTION
Example:
todo read book
todo run
2. Adds a deadline task with the given description into tasklist.
Format: deadline TASK_DESCRIPTION /by dd/MM/YYYY HHmm
Example:
deadline read book /by 12/12/2019 1300
deadline run /by 12/12/2019 1200
3. Adds an event task with the given description into tasklist.
Format: event TASK_DESCRIPTION /at dd/MM/YYYY HHmm
Example:
deadline read book /by 12/12/2019 1300
deadline run /by 12/12/2019 1200
delete
Deletes a task with the specified index from the tasklist.
Format: delete INDEX
Example:
delete 3
list
Prints the list of tasks that are stored in the task list.
Format:list
find
Prints a list of tasks that matches keyword given by user.
Format:find KEYWORD
Example:
find read
done
Mark the specified task in the task list as done.
Format:done INDEX
Example:
done 2
bye
Prints goodbye message and store updated task list in storage file.
Format:bye
statistics
Prints statistic report on the different type of task to do and percentage of work done.
Format:statistics