Duke is a personal assistant chatbot that helps a person to keep track of various tasks, optimized for use via a Command Line Interface. If you type fast, Duke can help you manage your tasks faster.
All command type ignore the case.
taskType taskName ...Add a task based on its task type. Currently supporting types are TODO, EVENT and DEADLINE.
Format:
TODO: TODO taskName. Example: TODO read book
EVENT: EVENT eventName /at eventTime. Example: EVENT project meeting /at tomorrow
DEADLINE: DEADLINE deadlineName /by deadlineTime. Example: DEADLINE play the piano /by June 16
Expected outcome (TODO example):
Got it. I've added this task:
[T][ ] your task
Now you have x tasks in the list.
LISTShow a list of current tasks in the format: [taskType][isDone] task
Format:
LIST
Expected outcome (example):
Here are the tasks in your list:
1. [T][ ] read book
2. [D][ ] return book (by: June 6th)
3. [E][ ] project meeting (at: Aug 6th 2-4pm)
4. [T][X] join sports club
MARKMark certain task as done based on its index.
Format:
MARK taskIndex
Expected outcome (example):
Nice! I've marked this task as done:
[T][X] your task
UNMARKUnmark certain task as not done based on its index.
Format:
UNMARK taskIndex
Expected outcome (example):
OK, I've marked this task as not done yet:
[T][ ] your task
FINDFind tasks containing a given keyword. The system will print all
Book will match bookFormat:
FIND keyword
Expected outcome (example):
Here are the matching tasks in your list:
No result found. Try to change your keyword!
DELETEDelete certain task based on its index.
Format:
DELETE taskIndex
Expected outcome (example):
Noted. I've removed this task:
[T][ ] your task
Now you have x tasks in the list.
SAVESave current data list into local file.
Format:
SAVE
Expected outcome:
Saved successfully!
BYEExit the project by typing BYE
Format:
BYE
Expected outcome:
Bye. Hope to see you again soon!
| Action | Format |
|---|---|
Add DEADLINE task |
DEADLINE deadlineName /by deadlineTime |
Add EVENT task |
EVENT eventName /at eventTime |
Add TODO task |
TODO taskName |
| Delete | DELETE taskIndex |
| Exit | BYE |
| Find | FIND keyword |
| List | LIST |
| Mark | MARK taskIndex |
| Save | SAVE |
| Unmark | UNMARK taskIndex |