Chat is a desktop app for managing your tasks. It is optimised for use via a Command Line Interface (CLI), while having the benefits of a Graphical User Interface (GUI).
Adds a task to Chat's list of tasks. Type of task needs to be specified.
- Command:
todo [name of todo task]
- Example:
todo read book
- Command:
deadline [name of deadline task] /by [date]
- Date should be written as: dd/MM/yyyy HH:mm
- Example:
deadline submit paper /by 20/01/2021 23:59
- Command:
event [name of event task] /at [start date] - [end date]
- Start and end date should be written as: dd/MM/yyyy HH:mm
- Example:
event camp /at 20/01/2021 11:00 - 22/01/2021 12:00
Expected outcome:
-
Chat will respond with message that task has been added successfully.
-
Task will also be reflected on Chat's list which can be viewed by
list
.If start and end date are of the same day, event will be displayed with only one date. i.e. event meeting /at 20/01/2021 12:00 - 20/01/2021 14:00 Expected display: E[] meeting (at 20 Jan 2021, 12:00PM - 2:00PM)
Error: ChatException will be thrown if format of command is incorrect.
Deletes a task from Chat's list of tasks.
Command: delete [index of task]
- Index of task is as given in list and list can be viewed by
list
.
Example: delete 1
Expected outcome:
- Chat will respond with message that task has been deleted successfully.
- Task will no longer be reflected on Chat's list which can be viewed by
list
.
Error: ChatException will be thrown if format of command is incorrect. For example, if given index is a negative number.
Marks a task as completed.
Command: done [index of task]
- Index of task is as given in list and list can be viewed by
list
.
Example: done 1
Expected outcome:
- Chat will respond with message congratulating user on having completed task.
- Upon viewing list by
list
, task will now be marked as done.- Marked as not done:
1. T[] read book
- Marked as done:
1. T[X] read book
- Marked as not done:
Error: ChatException will be thrown if format of command is incorrect. For example, if given index is a negative number.
Finds task by given keywords.
Command: find [keywords]
Example: find t/T n/read d/20 Mar,21 Mar
- This will display all found todo tasks with name that includes the word "read".
t/[task type]
[task type]
= T, D or E- T for todo tasks, D for deadlines and E for events.
n/[name]
c/[is completed]
[is completed]
= T or F- T for completed, F for not completed yet.
d/[dates]
- date should be written as dd MMM yyyy, dd MMM or MMM yyyy.
[dates]
can include just one date (start/end) or both start and end dates.- dates should be separated with
,
if both start and end dates are entered.
- dates should be separated with
* Each type of keyword should be separated by a space bar.
* Keywords can be arranged in any order.
* There should only be one of each kind of keywords.
* If there are more than one keywords for one type, the latest keyword of that type will be used.
* Example: t/E t/D will result in only deadline tasks being found.
Expected outcome:
- Chat will display a list of all tasks that match the keywords given by user.
Error: ChatException will be thrown if format of command is incorrect. For example, if incorrect type of keywords are being entered.
List all tasks saved by Chat.
Command: list
Expected outcome:
- Chat will list all tasks.
Exits Chat the Cat.
Command: bye
Expected outcome:
- Chat will say bye to user.
Chat has many different expressions to help users understand the kind of responses given by Chat.
When Chat greets the user upon startup.When Chat has successfully executed a command given by user.
When Chat encounters an error.
When Chat congratulates user on completing a task.
When Chat is saying goodbye sadly.