Duke is a Personal Assistant Chatbot that helps a person organise a list of stuff to do; including deadlines or events. The name Duke was chosen in honor of Duke, the Java Mascot. While Duke has a Graphical User Interface (GUI), its main form of input is Command Line Interface (CLI) based, thus favoring people who can type fast.
3.Type the command in the command box and press Enter
or click Send
to execute it.\
4.Lastly, entering bye
exits the app.
Creates a basic ‘To-Do’ task
todo
Format: todo
(insert task description here)
todo
finish JUnit testingCreates a basic ‘Deadline’ task with a date and time value
deadline
/by
Format: deadline
(insert task description here) /by
(date and time)
deadline
finish Project /by
20/04/2019 10:00:bulb: You can try different date-time formats such as ‘dd/mm/yyyy HH:mm:ss’ or ‘dd-mmm-yyyy HHmm’
Creates a basic ‘Event’ task with a date and time value
event
/at
Format: event
(insert task description here) /at
(date and time)
event
game event /at
23-DEC-2020 0230Displays a list of all tasks that have been previously inputted.
list
Format: list
list
Let us say for example you followed the previous 3 examples and input all 3 commands at once. You should get something like this.
Marks a selected task as completed.
done
Format: done
(insert task number here)
done
2:bulb: It is recommended that you use the list
command beforehand to double check the task number of the task you wish to delete.
Removes a task from the task list.
delete
Format: delete
(insert task number here)
delete
1:bulb: Do note that when you delete a task, all the numbers after said task get shifted forward by 1. Do refresh the task list with the list
command often to ensure you do not accidentally delete the wrong task. :sweat:
Finds a task from the task list that contains your expression.
find
Format: find
(insert task description here)
find
finish:bulb: The task description need not be a full word; even typing a partial word or just a few letters as the task description would work!
The application will automatically check for entries where the task descriptions are exactly the same and warn you about them.
Format: Automatically enabled
The application will terminate and all data will be saved. (See feature 10)
bye
Format: bye
bye
message or just click the ‘x’ button on the top right hand corner of the application to close it.The application will automatically save the data whenever changes are made.
Format: Automatically enabled
Q: How do I transfer my data to another Computer?\ A: Install the app in the other computer and overwrite the empty data file it creates with the file that contains the data of your previous Duke folder.
Command | Syntax | Example |
---|---|---|
todo |
todo (insert task description here) |
todo finish JUnit testing |
deadline |
deadline (insert task description here) /by (date and time) |
deadline finish Project /by 20/04/2019 10:00 |
event |
event (insert task description here) /at (date and time) |
event game event /at 23-DEC-2020 0230 |
list |
list |
|
done |
done (insert task number here) |
done 2 |
delete |
delete (insert task number here) |
delete 1 |
find |
find (insert task description here) |
find finish |
bye |
bye |