Zran acts as your personal assistant and keeps track of your task list through the command line interface!
cd into the folder you put the jar file in, and use java -jar IP.jar command to run the application. ____________________________________________________________
hello! I'm Zran, your personal assistant:)!
Type in your to dos for the day and press enter!
Type 'help' to view to list of commands the bot accepts!
____________________________________________________________
todoAdds a todo task to the task list.
Format: todo TASK_DESCRIPTION
Expected Output:
todo Cook lunch
____________________________________________________________
Noted! Task added: Cook lunch [ ]
Number of Tasks: 1
____________________________________________________________
List of Tasks:
1. [T][ ] Cook lunch
____________________________________________________________
deadlineAdds a deadline task to the task list.
For the deadline to be displayed in a DD MMM YYYY format, key in the TASK_DEADLINE as yyyy-mm-dd.
Otherwise, proceed to key in the TASK_DEADLINE in any desired format.
Format: deadline TASK_DESCRIPTION /by TASK_DEADLINE
Expected Output:
deadline Submit ST2334 quiz /by 2023-10-04
____________________________________________________________
Noted! Task added: Submit ST2334 quiz [ ]
Number of Tasks: 2
____________________________________________________________
List of Tasks:
1. [T][ ] Cook lunch
2. [D][ ] Submit ST2334 quiz (by: 04 Oct 2023)
____________________________________________________________
eventAdds an event task to the task list.
For the dates to be displayed in a DD MMM YYYY format, key in the START_OF_EVENT and END_OF_EVENT as yyyy-mm-dd.
Otherwise, proceed to key in the START_OF_EVENT and END_OF_EVENT in any desired format.
Format: event EVENT_DESCRIPTION /from START_OF_EVENT /to END_OF_EVENT
Expected Output:
event Rugby competition /from 2023-10-14 /to 2023-10-15
____________________________________________________________
Noted! Task added: Rugby competition [ ]
Number of Tasks: 3
____________________________________________________________
List of Tasks:
1. [T][ ] Cook lunch
2. [D][ ] Submit ST2334 quiz (by: 04 Oct 2023)
3. [E][ ] Rugby competition (from: 14 Oct 2023 to: 15 Oct 2023)
____________________________________________________________
listLists all tasks in the task list.
Format: list
Expected Output:
list
____________________________________________________________
List of Tasks:
1. [T][ ] Cook lunch
2. [D][ ] Submit ST2334 quiz (by: 04 Oct 2023)
3. [E][ ] Rugby competition (from: 14 Oct 2023 to: 15 Oct 2023)
____________________________________________________________
markMarks the task corresponding to provided task index as done on the task list.
Format: mark TASK_INDEX
Expected Output:
mark 1
____________________________________________________________
Congrats! :D Task marked as done: Cook lunch [X]
____________________________________________________________
unmarkMarks the task corresponding to provided task index as NOT done on the task list.
Format: unmark TASK_INDEX
Expected Output:
unmark 1
____________________________________________________________
Oopsies! Task unmarked: Cook lunch [ ]
____________________________________________________________
deleteRemoves the task corresponding to provided task index from the task list.
Format: delete TASK_INDEX
Expected Output:
delete 1
____________________________________________________________
Noted! Task deleted: Cook lunch
Number of Tasks: 2
____________________________________________________________
List of Tasks:
1. [D][ ] Submit ST2334 quiz (by: 04 Oct 2023)
2. [E][ ] Rugby competition (from: 14 Oct 2023 to: 15 Oct 2023)
____________________________________________________________
findFilters out tasks containing user’s input of choice/keyword.
Format: find KEYWORD
Expected Output:
find quiz
____________________________________________________________
List of Tasks:
1. [D][ ] Submit ST2334 quiz (by: 04 Oct 2023)
2. [D][ ] Submit IE quiz (by: 08 Oct 2023)
____________________________________________________________
helpOutputs a list of commands and its format of usage.
Format: help
Expected Output:
help
____________________________________________________________
Help is here! :)
Listed below are the valid commands:
- todo
- deadline
- event
- mark
- unmark
- delete
- find
- help
- bye
For the formats below, replace *field* with your input
TODO: todo *task name*
DEADLINE: deadline *task name* /by *deadline*
EVENT: event *event name* /from *start date* /to *end date*
LIST: list
MARK: mark *existing task index*
UNMARK: unmark *existing task index*
DELETE: delete *existing task index*
FIND: find *keyword*
HELP: help
BYE: bye
____________________________________________________________
byeExits the chatbot.
Format: bye
Expected Output:
bye
____________________________________________________________
Goodbye <3 Have a great day ahead!
| Action | Format, Examples |
|---|---|
| Add todo | todo TASK_DESCRIPTIONExample: todo Cook lunch |
| Add deadline | deadline TASK_DESCRIPTION /by TASK_DEADLINEExample: deadline Submit ST2334 quiz /by 2023-10-04 |
| Add event | event EVENT_DESCRIPTION /from START_OF_EVENT /to END_OF_EVENTExample: event Rugby competition /from 2023-10-14 /to 2023-10-15 |
| List | listExample: list |
| Mark task | mark TASK_INDEXExample: mark 1 |
| Unmark task | unmark TASK_INDEXExample: unmark 1 |
| Delete task | delete TASK_INDEXExample: delete 1 |
| Find | find KEYWORDExample: find quiz |
| Help | helpExample: help |
| Exit | byeExample: bye |