Duke is a desktop app for managing tasks, optimized for use via a Command Line Interface (CLI).
Note:
Words in UPPER_CASE
care the parameters to be supplied by the user. e.g. in todo TASK
, TASK
is a parameter which can be used as todo read book
.
Items in square brackets are optional. e.g. deadline TASK /by DATE [TIME]
can be used as deadline watch lecture /by 14/09/2020
or as deadline watch lecture /by 14/09/2020 1600
todo
, deadline
, event
Adds a task into the list
Format:
todo DESCRIPTION
deadline DESCRIPTION /by DATE [TIME]
event DESCRIPTION /at DATE [TIME]
Comments:
DATE
must be in dd/mm/yyyy
format.TIME
must be in hhmm
24 hours format.Examples:
todo read book
deadline return book /by 15/09/2020
event watch lecture /at 16/09/2020 1600
list
Shows a list of all tasks.
Format: list
find
Finds tasks whose description contain the given keyword
Format: find KEYWORD [MORE_KEYWORDS]
Comments:
Examples:
find book
will return read book
and return book
.done
Marks the specified task as completed.
Format: done INDEX
Comments:
Examples:
done 1
will mark the first task as complete.delete
Deletes the specified task from the list.
Format: delete INDEX
Comments:
Examples:
delete 1
deletes the first task in the list.archive
Archives the specified task in the list.
Format: archive INDEX
Comments:
/data/archive.txt
Q: Do I need to save the data?
A: No, the tasks are saved automatically every time the list changes.
Action | Format, Examples |
---|---|
Todo | todo DESCRIPTION e.g. todo read book |
Deadline | deadline DESCRIPTION /by DATE [TIME] e.g. deadline return book /by 24/08/2020 |
Event | event DESCRIPTION /at DATE [TIME] |
List | list |
Find | find KEYWORD [MORE_KEYWORDS] |
Done | done INDEX |
Delete | delete INDEX |
Archive | archive INDEX |