Skip to content

Commit bc93f2d

Browse files
committed
Merge branch 'branch-A-UserGuide'
2 parents a9c7403 + e37477c commit bc93f2d

File tree

2 files changed

+162
-10
lines changed

2 files changed

+162
-10
lines changed

docs/README.md

Lines changed: 162 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,181 @@
1-
# User Guide
1+
# Trash Gremlin Caelus User Guide
2+
3+
A chatbot that can help keep track of a list of tasks. Note that all indexes begin at 1.
24

35
## Features
46

5-
### Feature-ABC
7+
### Add Task
8+
9+
Add tasks of different natures to the task list.
10+
11+
### Mark Task
12+
13+
Mark tasks as done or not done.
14+
15+
### Delete Task
16+
17+
Remove tasks from the task list.
618

7-
Description of the feature.
19+
### Find Task
820

9-
### Feature-XYZ
21+
Find tasks with names that match the search term.
1022

11-
Description of the feature.
23+
### List Tasks
24+
25+
List all tasks in the task list.
1226

1327
## Usage
1428

15-
### `Keyword` - Describe action
29+
### `todo` - Add to-do
1630

17-
Describe the action and its outcome.
31+
Adds a task with no deadline or time window to the list.
1832

1933
Example of usage:
2034

21-
`keyword (optional arguments)`
35+
`todo Make bed`
36+
37+
Expected outcome:
38+
39+
Adds a to-do to the list.
40+
41+
```
42+
Added:
43+
[T][ ] Make bed
44+
```
45+
46+
### `deadline` - Add deadline
47+
48+
Adds a task with a deadline to the list. Deadline must not be before the current date.
49+
50+
Example of usage:
51+
52+
`deadline Make bed /by 2023-09-16`
53+
54+
Expected outcome:
55+
56+
Adds a deadline to the list.
57+
58+
```
59+
Added:
60+
[D][ ] Make bed (by: Sep 16 2023)
61+
```
62+
63+
### `event` - Add event
64+
65+
Adds a task with a time window to the list.
66+
67+
Example of usage:
68+
69+
`event heck week /from 2023-09-18 /to 2023-09-25`
70+
71+
Expected outcome:
72+
73+
Adds an event to the list.
74+
75+
```
76+
Added:
77+
[E][ ] heck week (from: Sep 18 2023 to: Sep 25 2023)
78+
```
79+
80+
### `mark` - Mark task as done
81+
82+
Marks the task at the given index as completed.
83+
84+
Example of usage:
85+
86+
`mark 1`
87+
88+
Expected outcome:
89+
90+
Task at position 1 of the list is marked as complete.
91+
92+
```
93+
I'll mark this as done:
94+
[T][X] Make bed
95+
```
96+
97+
### `unmark` - Mark task as not done
98+
99+
Marks the task at the given index as not completed.
100+
101+
Example of usage:
102+
103+
`unmark 1`
104+
105+
Expected outcome:
106+
107+
Task at position 1 of the list is marked as not complete.
108+
109+
```
110+
I'll mark this as not done:
111+
[T][ ] Make bed
112+
```
113+
114+
### `find` - Find task
115+
116+
Displays all tasks with the given search term in their names.
117+
118+
Example of usage:
119+
120+
`find bed`
121+
122+
Expected outcome:
123+
124+
Finds all tasks with the word "bed" in their names.
125+
126+
```
127+
Here are the matching tasks in your list:
128+
1. [T][ ] Make bed
129+
2. [D][ ] Make bed (by: Sep 16 2023)
130+
```
131+
132+
### `delete` - Delete task
133+
134+
Deletes the task at the given index from the list.
135+
136+
Example of usage:
137+
138+
`delete 1`
139+
140+
Expected outcome:
141+
142+
Deletes the task from the list.
143+
144+
```
145+
I've removed this task:
146+
[T][ ] Make bed
147+
```
148+
149+
### `list` - List tasks
150+
151+
Lists all tasks currently in the list.
152+
153+
Example of usage:
154+
155+
`list`
156+
157+
Expected outcome:
158+
159+
Lists all tasks.
160+
161+
```
162+
Here are the tasks in your list:
163+
1. [T][ ] Make bed
164+
2. [D][ ] Make bed (by: Sep 16 2023)
165+
```
166+
167+
### `bye` - Stop the bot
168+
169+
Stop the bot and prevent it from taking any more commands.
170+
171+
Example of usage:
172+
173+
`bye`
22174

23175
Expected outcome:
24176

25-
Description of the outcome.
177+
Stops the bot and disables messages from being sent to the bot.
26178

27179
```
28-
expected output
180+
Bye. I'll be at the nearest trash can!
29181
```

docs/Ui.png

270 KB
Loading

0 commit comments

Comments
 (0)