Duke program is a Desktop app for recording a list of tasks to do via Command Line Interface (CLI) with the aid of Graphical User Interface (GUI).
11
or above install in your Computer.list
: List all tasks.todo laundry
: Adds a laundry task to the list of tasks.delete 3
: Deletes the 3rd task on the current list.mark 2
: Marks the 2nd task on the current list.bye
: Terminates the program.Notes about command format:
- Words in
UPPER_CASE
are the parameters to be supplied by the user.
list
Lists all tasks on the list of tasks.
Format: list
todo
Adds a todo task to the list of tasks.
Format: todo TASK
Examples:
todo homework
deadline
Adds a task with deadline to the list of tasks.
Format: deadline TASK /by DEADLINE
DEADLINE
is given in the format of yyyy-mm-dd, it will be translated to
a more readable format. Eg. 2022-09-15 will be converted to Sep 15 2022Examples:
deadline return book /by Sunday
event
Adds an event to the list of tasks.
Format: event TASK /at DATE
DATE
is given in the format of yyyy-mm-dd, it will be translated to
a more readable format. Eg. 2022-09-15 will be converted to Sep 15 2022Examples:
event project meeting /at Mon 2-4pm
delete
Deletes the specified task from the current list of tasks.
Format: delete INDEX
Examples:
list
followed by delete 3
deletes the 3rd task on the list.mark
Marks the specified task from the current list of tasks.
Format: mark INDEX
Examples:
mark 5
unmark
Unmarks the specified task from the current list of tasks.
Format: unmark INDEX
Examples:
unmark 5
priority
Sets the priority level for the specified task.
Format: priority INDEX LEVEL
Examples:
priority 2 high
find
Finds all task in the list which contains the specified word.
Format: find WORD
Examples:
find book
bye
Saves the current list and ends the program.
Format: bye
No Questions yet.
Action | Format, Examples |
---|---|
list | list |
todo | todo TASK e.g., todo homework |
deadline | deadline TASK /by DEADLINE e.g., deadline return book /by Sunday |
event | event TASK /at DATE e.g., event project meeting /at Mon 2-4pm |
delete | delete INDEX e.g., delete 3 |
mark | mark INDEX e.g., mark 5 |
unmark | unmark INDEX e.g., unmark 5 |
priority | priority INDEX LEVEL e.g., priority 2 high |
find | find WORD e.g., find book |
bye | bye |