Add a todo task.
Add an upcoming deadline.
Add an upcoming event.
Allows you to view all tasks that you have added to Duke.
Delete a task that was added to Duke.
Mark a task as done that was added to Duke.
Search for tasks with keywords.
Exit Duke and saves data into tasks.txt file.
| Command | Feature Descriptions| Example | |:——–|:——————–|:———————————–| | todo | Add a todo task | todo complete ip | | deadline| Add a deadline | deadline ip /by 2020-09-18 23:59 | | event | Add an event | event meeting /at 2020-10-10 10:10 | | list | View all tasks | list | | delete | Delete a task | delete 1 | | done | Mark a task as done| done 2 | | find | Search for tasks | find ip | | bye | Exit program | bye |
todo
- Add a new Todo taskAdd a new todo task to Duke task list.
Format: todo (task)
Example of usage:
todo ip
Expected outcome:
deadline
- Add a new DeadlineAdd a new deadline to Duke task list.
Format: deadline (task) /by (time)
Example of usage:
deadline ip /by 2020-09-18 23:59
Expected outcome:
event
- Add a new EventAdd a new event to Duke task list.
Format: event (task) /by (time)
Example of usage:
event meeting /at 2020-10-10 10:10
Expected outcome:
list
- View all tasksDisplay all tasks in Duke’s task list.
Format: list
Example of usage:
list
Expected outcome:
delete
- Delete a taskDelete a task that was added to Duke.
Format: delete (task index)
Example of usage:
delete 1
Expected outcome:
done
- Mark a task as doneMark a task as done that was added to Duke.
Format: done (task index)
Example of usage:
done 2
Expected outcome:
find
- Search for tasksSearch for tasks with keywords.
Format: find (keywords)
Example of usage:
find ip
Expected outcome:
bye
- Save and exitExit Duke and saves data into tasks.txt file.
Format: bye
Example of usage:
bye
Expected outcome: