Duke Chatbot is a desktop app for managing tasks and scehdules. This chatbot uses a GUI text interface to interact with the user.
- Quick Start
- Features
- Help
- Adding a task:
- ToDo:
todo - Deadline:
deadline - Event:
event
- ToDo:
- Listing tasks:
list - Finding tasks based on keyword:
find - Marking tasks as done:
done - Deleting tasks:
delete - Exiting the program:
bye
- Command Summary
- Ensure you have java
11or newer installed in your computer. - Download the latest release from here.
- Add the
duke.jarfile into a directory of your choice to be used as your home directory. - Double click the
duke.jarfile to launch the application.
Notes about the command format:
- Words in
UPPER_CASEare the parameters to be supplied by the user. E.g. intodo DESCRIPTION,DESCRIPTIONis a parameter which can be used astodo Clean the dishes.
Adds a todo task to the tasklist.
Format: todo DESCRIPTION
Examples:
todo Clean the dishes
Adds a task with a deadline to the tasklist. A task with a deadline needs to have a deadline date and time in the form YYYY-MM-DD and HH:MM respectively.
Format: deadline DESCRIPTION /by YYYY-MM-DD HH:MM
Example:
deadline Project submisstion /by 2020-11-09 23:59deadline Write my essay /by 2020-12-13 00:30
Adds an event to the tasklist. An event needs to have an event date in the form YYYY-MM-DD and an event time range HH:MM-HH:MM.
Format: event DESCRIPTION /at YYYY-MM-DD HH:MM-HH:MM
Example:
event Birthday party /at 2020-09-26 18:00-20:00event History exam /at 2020-11-12 17:00-18:45
Shows the list of tasks currently. There are a number of ways to list the tasks in the tasklist. Below are all the different ways to list tasks in the tasklist broken down into the type of tasks:
- All tasks:
- List all tasks:
list all - List all tasks that are done:
list all done - List all tasks that are not done:
list all not done
- List all tasks:
- ToDo tasks:
- List all todo tasks:
list todos - List all todo tasks that are done:
list todos done - List all todo tasks that are not done:
list todos not done
- List all todo tasks:
- Tasks with a deadline:
- List all tasks with a deadline:
list deadlines - List all tasks with a deadline that are done:
list deadlines done - List all tasks with a deadline that are not done:
list deadlines not done
- List all tasks with a deadline:
- Events:
- List all events:
list events - List all events that are done:
list events done - List all events that are not done:
list events not done
- List all events:
Find tasks whose names contain the keyword.
Format: find KEYWORD
KEYWORDcannot be empty- The search is case-sensitive. E.g.
tEsTwill not matchtest. - Only the name is searched.
- Part search will also match full words. E.g.
tewill matchtest. - The order of the keywords does not matter. E.g.
Exam Mockwill matchMock Exam.
Examples:
find partyfind exam
Marks tasks as done.
Format: done INDEX
- Marks the task at the specified
INDEXas done. - The
INDEXrefers to the index number shown in the displayed task list. - The
INDEXmust be a positive integer 1, 2, 3, ...
Examples:
list allto view all the tasks in the tasklist followed bydone 2will mark the 2nd task as done.done 4will mark the 4th task as done.
Deletes tasks from the tasklist.
Format: delete INDEX
- Deletes the task at the specified
INDEX. - The
INDEXrefers to the index number shown in the displayed task list. - The
INDEXmust be a positive integer 1, 2, 3, ...
Examples:
list allto view all the tasks in the tasklist followed bydelete 2will delete 2nd task.delete 4will delete the 4th task.
Exits the program and closes the application.
Format:bye
Duke automatically saves the tasklist in the hard disk after any command that changes the data. There is no need to save manually.
| Action | Format, Examples |
|---|---|
| todo | todo DESCRIPTION, e.g. todo Clean the dishes |
| deadline | deadline DESCRIPTION /by YYYY-MM-DD HH:MM, e.g. deadline Project submisstion /by 2020-11-09 23:59 |
| event | event DESCRIPTION /at YYYY-MM-DD HH:MM-HH:MM, e.g. event Birthday party /at 2020-09-26 18:00-20:00 |
| list | list PARAMETER, e.g. list events done |
| find | find KEYWORD, e.g. find homework |
| done | done INDEX, e.g. done 2 |
| delete | delete INDEX, e.g. delete 1 |
| bye | bye |