Duke is a friendly chatbot who will manage your tasks, which include todo tasks, events and deadlines.
There are three kinds of tasks which Duke manages:
You can get Duke to manage a new task or remove an existing task.
Once you have completed a task, you can choose to mark it as done. This helps you to keep track of the tasks you have completed.
Duke is able to filter tasks which contain a common keyword. This will be useful in managing a long list of tasks.
{UPPER_CASE}
are the parameters to be supplied by the user.{DATE}
, enter date in the format: YYYY-MM-DD
.{INDEX}
, enter a positive integer corresponding
to its index in the task list.list
- View current task listFormat: list
Expected outcome:
todo
- Add a new todo taskAdd a new unfinished todo task to the existing list of tasks.
Format: todo {TASK_NAME}
Example of usage:
todo homework
Expected outcome:
deadline
- Add a new deadlineAdd a new unfinished deadline task to the existing list of tasks.
Format: deadline {TASK_NAME} /by {DATE}
Example of usage:
deadline return book /by 2020-04-15
Expected outcome:
event
- Add a new eventAdd a new unfinished event task to the existing list of tasks.
Format: event {TASK_NAME} /at {DATE}
Example of usage:
event go cycling /at 2020-11-10
Expected outcome:
done
- Mark task as doneMark an unfinished task as done.
Format: done {INDEX}
Example of usage:
done 3
Expected outcome:
find
- Search listLook for all tasks containing a given keyword.
Format: find {KEYWORD}
Example of usage:
find work
Expected outcome:
delete
- Delete taskDelete a task in the list.
Format: delete {INDEX}
Example of usage:
delete 4
Expected outcome:
edit
- Edit taskThere are three ways to use this command:
edit {INDEX} {TASK_NAME}
edit {INDEX} /by {DATE}
edit {INDEX} /at {DATE}
edit {INDEX} {TASK_NAME} /by {DATE}
edit {INDEX} {TASK_NAME} /at {DATE}
Example of usage:
edit 4 buy bread /by 2020-10-03
Expected outcome:
bye
- Exit DukeFormat: bye