Duke Chatbot is a desktop app for managing tasks and scehdules. This chatbot uses a GUI text interface to interact with the user.
todo
deadline
event
list
find
done
delete
bye
11
or newer installed in your computer.duke.jar
file into a directory of your choice to be used as your home directory.duke.jar
file to launch the application.Notes about the command format:
UPPER_CASE
are the parameters to be supplied by the user.
E.g. in todo DESCRIPTION
, DESCRIPTION
is a parameter which can be used as todo Clean the dishes
.todo
Adds a todo task to the tasklist.
Format: todo DESCRIPTION
Examples:
todo Clean the dishes
deadline
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:59
deadline Write my essay /by 2020-12-13 00:30
event
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:00
event History exam /at 2020-11-12 17:00-18:45
list
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:
list all
list all done
list all not done
list todos
list todos done
list todos not done
list deadlines
list deadlines done
list deadlines not done
list events
list events done
list events not done
find
Find tasks whose names contain the keyword.
Format: find KEYWORD
KEYWORD
cannot be emptytEsT
will not match test
.te
will match test
.Exam Mock
will match Mock Exam
.Examples:
find party
find exam
done
Marks tasks as done.
Format: done INDEX
INDEX
as done.INDEX
refers to the index number shown in the displayed task list.INDEX
must be a positive integer 1, 2, 3, …Examples:
list all
to view all the tasks in the tasklist followed by done 2
will mark the 2nd task as done.done 4
will mark the 4th task as done.delete
Deletes tasks from the tasklist.
Format: delete INDEX
INDEX
.INDEX
refers to the index number shown in the displayed task list.INDEX
must be a positive integer 1, 2, 3, …Examples:
list all
to view all the tasks in the tasklist followed by delete 2
will delete 2nd task.delete 4
will delete the 4th task.bye
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 |