todo
Adds a simple task with a short description.
Format: todo [task description]
Examples:
todo borrow book
todo sleep
event
Adds an event.
Format: event [event description] /at [date] [time]
Examples:
event go to book fair /at 2020-09-09 20:58
event go go to an event /at 2020-09-09 20:00
deadline
Adds a task with a deadline.
Format: deadline [deadline description] /by [date] [time]
Example:
deadline return book /by 2020-09-09 23:59
deadline submit my ip /by 2020-09-18 23:59
list
Reads all the saved tasks in the list.
Format: list
delete
Deletes an existing task in the task list.
Format: delete INDEX
INDEX
. The index refers to the index number shown in the displayed task list.
The index must be a positive integer.Example:
delete 1
- deletes the task at index 1 of the task list.delete 4
- deletes the task at index 4 of the task list.find
Find tasks which contains any of the keyword.
Format: find KEYWORD
Examples:
find book
- will return all task that has the keyword book
.find borrow book
- will return all the task that has the keywords borrow
and book
.update task
Replaces an existing task in the task list with another task.
Format: update task INDEX
INDEX
. The index refers to the index number shown in the displayed task list.
The index must be a positive integer.Example:
update task 1
- updates task at index 1.update task 4
- updates task at index 4.update desc
Updates the description of an existing task in the task list.
Format: update desc INDEX
INDEX
. The index refers to the index number shown in the displayed task list.
The index must be a positive integer.Examples:
update desc 1
- updates the description of the task at index 1.update desc 4
- updates the description of the task at index 4.update time
Updates the time of an existing event or task with a deadline in the task list.
Format: update time INDEX
INDEX
. The index refers to the index number shown in the displayed task list.
The index must be a positive integer.Examples:
update time 1
- updates the time of the task at index 1.update time 4
- updates the time of the task at index 4.update date
Updates the date of an existing event or task with a deadline in the task list.
Format: update date INDEX
INDEX
. The index refers to the index number shown in the displayed task list.
The index must be a positive integer.Examples:
update date 1
- updates the date of the task at index 1.update date 4
- updates the date of the task at index 4.bye
Exits the program and saves all the changes made to task list.
Format: bye