A greenfield Individual project created for CS2103T-software engineering, Duke is a simple and easy-to-talk chatbot that promises to keep track of all kinds of tasks and supports task tracking with a variety of useful features as well.
todo
: add a task of Todo typedeadline
: add a task of Deadline typeevent
: add a task of Event typedelete
: delete a specific taskfind
: queries the task(s) containing the specific wordlist
: displays all tasks in a list formatdone
: marks a task as donetag
: tags a specific with the desired hashtagbye
: shutdown the applicationtodo
Adds a task of todo type into Duke’s tracklist.
todo <activity>
A todo task will be added with the given activity.
Example of usage:
todo read book
Expected outcome:
Got it. I've added this task:
[T][✘] read book
Now you have 1 tasks in the list.
deadline
Adds a task of deadline type into Duke’s tracklist.
deadline <activity> /by <Year-Month-Day Hour:Minute>
A deadline task will be added with the given activity, date & time.
Example of usage:
deadline finish 2103iP /by 2020-09-15 21:00
Expected outcome:
Got it. I've added this task:
[D][✘] finish 2103iP (by: 2020-09-15 21:00)
Now you have 1 tasks in the list.
event
Adds a task of event type into Duke’s tracklist.
event <activity> /at <Year-Month-Day Hour:Minute>
An event task will be added with the given activity, date & time.
Example of usage:
event attend session /at 2020-11-10 15:00
Expected outcome:
Got it. I've added this task:
[E][✘] attend session (at: 2020-11-10 15:00)
Now you have 1 tasks in the list.
delete
Delete a specific task of any type from Duke’s tracklist.
delete <index>
A task with the specified index will be removed.
Example of usage:
delete 2
Expected outcome:
Noted. I've removed this task:
[D][✘] return book (by: 2017-10-10 05:00)
Now you have 2 tasks in the list.
find
Returns tasks of any type from Duke’s tracklist based on the keyword given.
find <keyword>
All tasks whose activity description contains the specified index will be returned.
Example of usage:
find finish
Expected outcome:
1. [D][✘] finish 2103iP (by: Sep 15 2020, 9:00 pm)
2. [T][✘] finish assignment
list
Returns all tasks in Duke’s tracklist.
list
All tasks in Duke’s tracklist will be displayed.
Example of usage:
list
Expected outcome:
1. [D][✘] finish 2103iP (by: Sep 15 2020, 9:00 pm)
2. [T][✘] finish assignment
3. [E][✘] attend session (at: 2020-11-10 15:00)
done
Marks a task as done in Duke’s tracklist.
done <index>
A task with the specified index will be marked as done using ✓.
Example of usage:
done 9
Expected outcome:
Nice! I have marked this task as done:
[D][✓] finish 2103iP (by: 2020-09-15 21:00)
tag
Appends a given hashtag onto a specific task in Duke’s tracklist.
tag <index> <hashtag>
A task with the specified index will have the given hashtag.
Example of usage:
tag 11 #urgent
Expected outcome:
Noted. I've tagged this task as:
[E][✓] project meeting (at: 2017-12-11 13:00) #urgent
bye
The Duke chat will stop taking in commands and proceeds to exit immediately.
bye
The application will be exited immediately upon the command.
Example of usage:
bye
Expected outcome:
Bye. Hope to see you again soon!
Action | Format, Examples |
---|---|
Todo | todo <activity> e.g., todo buy book |
Deadline | deadline <activity> /by <Year-Month-Day Hour:Minute> e.g., deadline finish 2103iP /by 2020-09-15 21:00 |
Event | event <activity> /at <Year-Month-Day Hour:Minute> e.g., event attend session /at 2020-11-10 15:00 |
Delete | delete <index> e.g., delete 3 |
Find | find <keyword> e.g., find book |
List | list |
Done | done <index> e.g., done 5 |
Tag | tag <index> <#hashtag> e.g., tag 10 #cool |
Bye | bye |