forked from nus-cs2103-AY2122S2/ip
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add user guide and output to delete commands
- Loading branch information
1 parent
83f0c53
commit acae270
Showing
3 changed files
with
232 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,240 @@ | ||
# User Guide | ||
# Van User Guide | ||
|
||
## Features | ||
|
||
### Feature-ABC | ||
### Manage tasks | ||
|
||
Description of the feature. | ||
The Van chatbot allows you to manage the various things in your life by | ||
allowing you to add various kinds of tasks to be tracked. The types of tasks | ||
currently supported are the following: | ||
1. Deadlines - Allows you to track the various deadlines that are upcoming | ||
2. Events - Allows you to track when are the various important events in your life | ||
3. to-do - Allows you to track the various things that you have yet to do | ||
|
||
### Feature-XYZ | ||
### Search functionality | ||
|
||
Description of the feature. | ||
The search function allows you to easily find the specific task that you are looking for | ||
from all the tasks that you have to make it easier to find tasks related to a certain subject. | ||
|
||
## Usage | ||
### Tagging function | ||
|
||
### `Keyword` - Describe action | ||
The tagging function allows you to add small notes to your tasks in order to add details or | ||
help differentiate between similar types of tasks. | ||
|
||
Describe the action and its outcome. | ||
## Commands | ||
|
||
Example of usage: | ||
#### `list` - Displays all the tasks | ||
The `list` command displays all current tasks, the task type, completion status, timing and tags. | ||
|
||
`keyword (optional arguments)` | ||
Syntax: | ||
`list` | ||
|
||
Expected outcome: | ||
Example: | ||
``` | ||
list | ||
Pending Tasks: | ||
1. [T][] eat lunch #yummy | ||
2. [D][X] finish assignment (by:Oct 20 2022 1800) | ||
3. [E][X] career fair (at:Dec 12 2022 1200) | ||
``` | ||
|
||
#### `event` - adds a event task | ||
Creates a task of type event with the description and time it occurs | ||
|
||
Syntax: | ||
`event <description> /at <date (DD-MM-YYYY HH:MM)>` | ||
|
||
Example: | ||
``` | ||
event career fair /at 20-01-2022 18:00 | ||
Task added | ||
[E][] career fair (at:Jan 20 2022 1800) | ||
1 tasks pending | ||
``` | ||
|
||
#### `deadline` - adds a deadline task | ||
creates a task of type deadline with description and deadline | ||
|
||
Description of the outcome. | ||
Syntax: | ||
`deadline <description> /by <date (DD-MM-YYYY HH:MM)>` | ||
|
||
Example: | ||
``` | ||
expected output | ||
deadline assigment /by 12-03-2022 06:00 | ||
Task added | ||
[D][] assignment (by:Mar 12 2022 0600) | ||
1 tasks pending | ||
``` | ||
|
||
#### `todo` - adds a todo task | ||
creates a task of type todo with description | ||
|
||
Syntax: | ||
`todo <description>` | ||
|
||
Example: | ||
``` | ||
todo eat lunch | ||
Task added | ||
[T][] eat lunch | ||
1 tasks pending | ||
``` | ||
|
||
#### `mark` - marks a task as done | ||
Marks a task as done by its tasks number | ||
|
||
Syntax: | ||
`mark <task number>` | ||
|
||
Example: | ||
``` | ||
list | ||
Pending Tasks: | ||
1. [T][] eat lunch #yummy | ||
2. [D][X] finish assignment (by:Oct 20 2022 1800) | ||
3. [E][X] career fair (at:Dec 12 2022 1200) | ||
mark 1 | ||
Changed task status | ||
list | ||
Pending Tasks: | ||
1. [T][X] eat lunch #yummy | ||
2. [D][X] finish assignment (by:Oct 20 2022 1800) | ||
3. [E][X] career fair (at:Dec 12 2022 1200) | ||
``` | ||
|
||
#### `unmark` - marks a task as undone | ||
Marks a task as undone by its task number | ||
|
||
Syntax: | ||
`unmark <task number>` | ||
|
||
Example: | ||
``` | ||
list | ||
Pending Tasks: | ||
1. [T][] eat lunch #yummy | ||
2. [D][X] finish assignment (by:Oct 20 2022 1800) | ||
3. [E][X] career fair (at:Dec 12 2022 1200) | ||
unmark 2 | ||
Changed task status | ||
list | ||
Pending Tasks: | ||
1. [T][] eat lunch #yummy | ||
2. [D][] finish assignment (by:Oct 20 2022 1800) | ||
3. [E][X] career fair (at:Dec 12 2022 1200) | ||
``` | ||
|
||
#### `delete` - deletes a task | ||
Deletes a task from the task list using its task number | ||
|
||
Syntax: | ||
`delete 1` | ||
|
||
Example: | ||
``` | ||
list | ||
Pending Tasks: | ||
1. [T][] eat lunch #yummy | ||
2. [D][X] finish assignment (by:Oct 20 2022 1800) | ||
3. [E][X] career fair (at:Dec 12 2022 1200) | ||
delete 1 | ||
task deleted | ||
list | ||
Pending Tasks: | ||
1. [D][X] finish assignment (by:Oct 20 2022 1800) | ||
2. [E][X] career fair (at:Dec 12 2022 1200) | ||
``` | ||
|
||
#### `find` - find tasks containing a keyword | ||
Find tasks that contain a certain keyword | ||
|
||
Syntax: | ||
`find <keyword>` | ||
|
||
Example: | ||
``` | ||
list | ||
Pending Tasks: | ||
1. [T][] eat lunch #yummy | ||
2. [D][X] finish assignment (by:Oct 20 2022 1800) | ||
3. [E][X] eat (at:Dec 12 2022 1200) | ||
find eat | ||
Tasks containing eat: | ||
1. [T][] eat lunch #yummy | ||
2. [E][X] eat (at:Dec 12 2022 1200) | ||
``` | ||
|
||
#### `tag` - tags a task | ||
Tags a task from its task number with a keyword | ||
|
||
Syntax: | ||
`tag <task number> #<keyword>` | ||
|
||
Example: | ||
``` | ||
list | ||
Pending Tasks: | ||
1. [T][] eat lunch #yummy | ||
2. [D][X] finish assignment (by:Oct 20 2022 1800) | ||
3. [E][X] eat (at:Dec 12 2022 1200) | ||
tag 1 #NUS | ||
tag added | ||
Pending Tasks: | ||
1. [T][] eat lunch #yummy #NUS | ||
2. [D][X] finish assignment (by:Oct 20 2022 1800) | ||
3. [E][X] eat (at:Dec 12 2022 1200) | ||
``` | ||
#### `untag` - removes tag from task | ||
Removes a tags from a task based on its task number | ||
|
||
Syntax: | ||
`untag <task number> #<keyword>` | ||
|
||
Example: | ||
``` | ||
list | ||
Pending Tasks: | ||
1. [T][] eat lunch #yummy | ||
2. [D][X] finish assignment (by:Oct 20 2022 1800) | ||
3. [E][X] eat (at:Dec 12 2022 1200) | ||
untag 1 #yummy | ||
Pending Tasks: | ||
1. [T][] eat lunch | ||
2. [D][X] finish assignment (by:Oct 20 2022 1800) | ||
3. [E][X] eat (at:Dec 12 2022 1200) | ||
``` | ||
|
||
#### `bye` - saves all tasks and exits | ||
saves all current tasks to an external file and closes the program | ||
|
||
Syntax: | ||
`bye` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters