Skip to content

Commit 6ff8ab9

Browse files
committed
Update main README
1 parent bc93f2d commit 6ff8ab9

File tree

1 file changed

+181
-24
lines changed

1 file changed

+181
-24
lines changed

README.md

Lines changed: 181 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,181 @@
1-
# Duke project template
2-
3-
This is a project template for a greenfield Java project. It's named after the Java mascot _Duke_. Given below are instructions on how to use it.
4-
5-
## Setting up in Intellij
6-
7-
Prerequisites: JDK 11, update Intellij to the most recent version.
8-
9-
1. Open Intellij (if you are not in the welcome screen, click `File` > `Close Project` to close the existing project first)
10-
1. Open the project into Intellij as follows:
11-
1. Click `Open`.
12-
1. Select the project directory, and click `OK`.
13-
1. If there are any further prompts, accept the defaults.
14-
1. Configure the project to use **JDK 11** (not other versions) as explained in [here](https://www.jetbrains.com/help/idea/sdk.html#set-up-jdk).<br>
15-
In the same dialog, set the **Project language level** field to the `SDK default` option.
16-
3. After that, locate the `src/main/java/Duke.java` file, right-click it, and choose `Run Duke.main()` (if the code editor is showing compile errors, try restarting the IDE). If the setup is correct, you should see something like the below as the output:
17-
```
18-
Hello from
19-
____ _
20-
| _ \ _ _| | _____
21-
| | | | | | | |/ / _ \
22-
| |_| | |_| | < __/
23-
|____/ \__,_|_|\_\___|
24-
```
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.
4+
5+
## Features
6+
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.
18+
19+
### Find Task
20+
21+
Find tasks with names that match the search term.
22+
23+
### List Tasks
24+
25+
List all tasks in the task list.
26+
27+
## Usage
28+
29+
### `todo` - Add to-do
30+
31+
Adds a task with no deadline or time window to the list.
32+
33+
Example of usage:
34+
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`
174+
175+
Expected outcome:
176+
177+
Stops the bot and disables messages from being sent to the bot.
178+
179+
```
180+
Bye. I'll be at the nearest trash can!
181+
```

0 commit comments

Comments
 (0)