Notes about the command format
Words in
UPPER_CASE
are parameters to be supplied by the user. Example: Intodo DESCRIPNTION
,DESCRIPTION
is a parameter which can be supplied asfinish homework
.
todo
– Add a todoAdds a todo to duke.
Format: todo DESCRIPTION
Example of usage:
todo cry
Expected outcome:
Got it. I've added this task.
[T][✘] cry
Now you have 1 tasks in the list
deadline
– Add a task with deadlineAdds a new task with deadline to duke.
Format: deadline DESCRIPTION /by YYYY-MM-DD
Example of usage:
deadline finish iP /by 2020-09-14
Expected outcome:
Got it. I've added this task.
[D][✘] finish iP (by: 2020-09-14)
Now you have 2 tasks in the list
event
– Add an eventAdds a new event with a specified date and time to duke.
Format: event DESCRIPTION /at DATE_AND_TIME
Example of usage:
event watch youtube /at now
Expected outcome:
Got it. I've added this task.
[E][✘] watch youtube (at: now)
Now you have 3 tasks in the list
list
– List all tasks and eventsList all tasks and events in duke.
Format: list
Example of usage:
list
Expected outcome:
Here are the tasks in your list.
1. [T][✘] cry
2. [D][✘] finish iP (by: 2020-09-14)
3. [E][✘] watch youtube (at: now)
done
– Marks task or event as doneSelects a task or event by index and marks it as done
Format: done INDEX
Example of usage:
done 1
Expected outcome:
Nice! I've marked this task as done:
[T][✓] cry
find
– Find a task or eventFinds task or event by keyword.
Format: find KEYWORD
Example of usage:
find finish
Expected outcome:
Here are your tasks matching finish
1. [D][✘] finish iP (by: 2020-09-14)
bye
– Save and exitSaves the current list of tasks, events and notes to storage and exits.
Format: bye
Example of usage:
bye
Expected outcome:
Bye. Hope to see you again soon!
File saved!
notes add
– Add a note to dukeAdds a new note to duke.
Format: notes add title/TITLE description/DESCRIPTION priority/PRIORITY
l
, low
, Low
m
, medium
, Medium
h
, high
, High
Example of usage:
notes add title/it's week 6!! description/die :( priority/high
Expected outcome:
Note with title it's week 6!! created!
notes list
– List all notesLists all notes in duke.
Format:
notes list
notes delete
– Deletes a noteDeletes a specific note.
Format: notes delete INDEX
Example of usage:
notes delete 3
Expected outcome:
Okay. I've removed this note:
[L] TITLE: DESCRIPTION