help
todo
, event
, deadline
list
done
delete
find
archive create
archive add
archive list
archive view
archive viewall
archive delete
archive deleteall
archive revert
3.8. Exiting the program : bye
Duke is a Personal Assistant Chatbot that helps users to keep track of various tasks.
11
or above installed on your computer.duke-0.2.jar
here.Double-click the file to start the app. The GUI should appear in a few seconds.
Enter
or click the send
button to execute it.help
and pressing Enter
will display the list of commands available.list
: lists all tasksevent david's birthday party /at 13/02/2019 1800
: adds an event
task named david's birthday party
to list of tasks.delete 3
: deletes the 3rd task shown in the current list of tasks.bye
: exits the app.Displays a full list of Duke commands and descriptions of what they do.
Format: help
Creates a new task and adds it to the current list of tasks.
There are 3 types of tasks: todo
, event
, deadline
.
event
and deadline
tasks require a 24 hour format date and time attached while todo
tasks do not.
Format:
todo [description]
event [description] /at [dd/mm/yyy hh:mm]
deadline [description] /by [dd/mm/yyy hh:mm]
Example(s):
todo buy david's birthday present
Creates a todo
task
event david's birthday party /at 13/02/2019 1800
Creates an event
task
deadline essay assignment /by 15/09/2019 2359
Creates a deadline
task
Displays the current list of tasks.
Format: list
Marks a specified task in the list of tasks as done.
Task to be marked done is indicated by its index number in the current list of tasks.
Format: done [task's list index number]
Example(s):
done 2
Deletes a specified task in the list of tasks.
Task to be deleted is indicated by its index number in the current list of tasks.
Format: delete [task's list index number]
Example(s):
delete 3
Finds and displays tasks whose description contains the given keyword.
Format: find [keyword]
Example(s):
find book
Tasks are able to be removed from the current list of tasks and stored into an archive.
The archive extension has various features that can be used with the following commands.
All archive commands are preceded with the archive
command word.
Creates a new empty archive.
Format: archive create [archive name]
Example(s):
archive create Due assignments
Due assignments
is created.Removes the specified task from the current list of tasks and adds it to the specified archive.
The task to be archived is indicated by its index number in the current list of tasks and
the archive to add the task to is indicated by the archive’s name.
Format: archive add [task's list index number] [archive name]
Example(s):
archive add 4 Leisure
Leisure
archive.Displays a list of existing archives’ names.
Format: archive list
Displays the list of tasks in a specified archive.
Format: archive view [archive name]
Example(s):
archive view 2018 events
2018 events
archive.Displays all archived tasks at once, grouped by archive.
Format: archive viewall
Deletes the specified task in the specified archive.
the archive to delete the task from is indicated by the archive’s name. The task to be deleted is indicated by its index number in the archive’s list of tasks.
Format: archive delete [task's archive list index number] [archive name]
Example(s):
archive delete 5 Past assignments
Past assignment
archive.Deletes the specified archive, including all the tasks in it.
Format: archive deleteall [archive name]
Example(s):
archive deleteall March deadlines
March deadlines
archive, including all the tasks in it.Removes the specified task from the specified archive and add it to the current list of tasks.
Format: archive revert [task's archive list index number] [archive name]
Example(s):
archive revert 7 Leisure
Leisure
archive and adds it back ot the current list of tasks.Displays the exit message and closes the program.
Format: bye