duke is a task management application for busy people who prefer typing.
Run the file:
4.1 For Windows: Double click the file and you’re done!
4.2 For Mac: Open Terminal, cd into home folder of duke. Run java -jar duke-0.2.jar
Command format
- Words in
UPPER_CASEare the parameters to be supplied by the user, e.g.todo DESCRIPTION,DESCRIPTIONis a parameter that can be use astodo CS2103 homeworkDATETIMErefers to date time in the format ofyyyy-MM-dd hhmm, e.g. for the format commanddeadline DESCRIPTION /by DATETIME,event CS2103 homework /by 2020-02-12 2359would be a valid command.- All
INDEXparameters refers to the numbering of the item whenlistis used.
List of features:
listtododeadlineeventdeletedonesearchupdatetodoupdatedeadlineupdateeventbyelistDisplays all tasks in the task list.
Format: list
todoCreates a todo task with description and adds it to the task list.
Format: todo DESCRIPTION
deadlineCreates a deadline task with description and time and adds it to the task list.
Format: deadline DESCRIPTION /by DATETIME
eventCreates a event task with description and time and adds it to the task list.
Format: event DESCRIPTION /at DATETIME
deleteDeletes a task at a particular index in the task list.
Format: delete INDEX
doneSet a task at a particular index in the task list as done.
Format: done INDEX
searchDisplays the list where each tasks matches the keywords (case sensitive).
It is also possible to search tasks by date and time as long as it matches formatted
date time. Note that despite some items may have different numbering from the list
provided be list, INDEX for subsequent calls still refers to the numbering
provided by list.
Format: search KEYWORDS
updatetodoUpdates description of a certain todo task description.
Format: updatetodo INDEX desc/DESCRIPTION
updatedeadlineUpdates description and time of a certain deadline task. Both description and time fields must be present.
Format: updatedeadline INDEX desc/DESCRIPTION time/DATETIME
updateeventUpdates description and time of a certain event tas. Both description and time fields must be present.
Format: updateevent INDEX desc/DESCRIPTION time/DATETIME
Tasks are automatically saved upon actions that affect the task list and tasks.
byeExits the program.
Format: bye
Adding tasks by using deadline, event, and todo:
todo eat dinner
Got it. I've added this task: [T][✗] eat dinner Now you have 1 tasks in the list.
deadline CS2103 homework /by 2020-03-15 2359
Got it. I've added this task: [D][✗] CS2103 homework (by: 23:59, Mar 15 2020) Now you have 2 tasks in the list.
event CS2103 tutorial /at 2020-07-07 1000
Got it. I've added this task: [E][✗] CS2103 tutorial (at: 10:00, Jul 7 2020) Now you have 3 tasks in the list.
Listing all tasks using list:
list
1. [T][✗] eat dinner 2. [D][✗] CS2103 homework (by: 23:59, Mar 15 2020) 3. [E][✗] CS2103 tutorial (at: 10:00, Jul 7 2020)
Listing all tasks using done:
done 1
Nice! I've marked this task as done: [T][✓] eat dinner
Search for task by name using: search
search eat
Here are the tasks that contains 'eat' in your list: 1. [T][✓] eat dinner
It is also possible to search task by time using search: search
search 2020
Here are the tasks that contains '2020' in your list: 1. [D][✗] CS2103 homework (by: 23:59, Mar 15 2020) 2. [E][✗] CS2103 tutorial (at: 10:00, Jul 7 2020)
Remarks:
search is case sensitive, this means that, search cs2103 will not
return any result despite having [D][✗] CS2103 homework (by: 23:59, Mar 15 2020).Update a task using: updatetodo, updateevent, and updatedeadline
updateevent 3 desc/ CS2103 tutorial time/ 2020-07-07 1300
Got it. I've changed this task to: [E][✗] CS2103 tutorial (at: 13:00, Jul 7 2020)
Exit the program using: bye
The window will automatically close.