Skip to content

Commit

Permalink
Add more details to User Guide
Browse files Browse the repository at this point in the history
  • Loading branch information
Kobot7 committed Mar 6, 2024
1 parent ecdf562 commit 906e8a8
Showing 1 changed file with 68 additions and 29 deletions.
97 changes: 68 additions & 29 deletions docs/README.md
Original file line number Diff line number Diff line change
@@ -1,32 +1,40 @@
# Kobot User Guide
Kobot is a desktop app for managing tasks via a Command Line Interface (CLI).
> Note: `task` refers to any combination of `todo`, `deadline` and `event`
[Features](#features)
- [Add to-Do](#add-to-do-to-list-todo)
- [Add deadline](#add-deadline-to-list-deadline)
- [Add event](#add-event-to-list-event)
- [List all tasks](#list-all-tasks-list)
- [Mark task as completed](#mark-task-as-completed-mark)
- [Mark task as not completed](#mark-task-as-not-completed-unmark)
- [Locating task by description](#locating-task-by-description-find)
- [Delete task](#delete-a-task-delete)
- [Exiting the program](#exiting-the-program-exit-or-bye)
- [Quick Start](#quick-start)
- [Features](#features)
- [Add to-Do](#add-to-do-to-list-todo)
- [Add deadline](#add-deadline-to-list-deadline)
- [Add event](#add-event-to-list-event)
- [List all tasks](#list-all-tasks-list)
- [Mark task as completed](#mark-task-as-completed-mark)
- [Mark task as not completed](#mark-task-as-not-completed-unmark)
- [Locating task by description](#locating-task-by-description-find)
- [Delete task](#delete-a-task-delete)
- [Exiting the program](#exiting-the-program-exit-or-bye)
- [Command Summary](#command-summary)

## Features
## Quick Start
1. Ensure you have Java `11` or above installed in your computer.

### Notes about the Command format
- Words in `UPPER_CASE` are the parameters to be supplied by the user.

e.g. in `todo DESCRIPTION`, `DESCRIPTION` is a parameter which can be used as `todo homework`.
2. Download the latest `kobot.jar` from [here](https://github.com/Kobot7/ip/releases).

3. Copy the file to the folder you want to use as the *home folder* for `Kobot`.

- Parameters must be in specified order.
4. Open a command terminal, `cd` into the folder you put the jar file in, and use `java -jar kobot.jar` command to run the application.

e.g. if the command specifies `/from START_DATETIME /to END_DATETIME`, `/to END_DATETIME /from START_DATETIME` will not be accepted.
5. Refer to the [Features](#features) below for details of each command.

## Features

- Extraneous parameters for commands that do not take in parameters (such as `list`, `exit` and `bye`) will be ignored.

e.g. if the command specifies `list 123`, it will be interpreted as `list`.
> ### Notes about the Command format
> - Words in `UPPER_CASE` are the parameters to be supplied by the user.
<br>e.g. in `todo DESCRIPTION`, `DESCRIPTION` is a parameter which can be used as `todo homework`.
> - Parameters must be in specified order.
<br>e.g. if the command specifies `/from START_DATETIME /to END_DATETIME`, `/to END_DATETIME /from START_DATETIME` will not be accepted.
> - Extraneous parameters for commands that do not take in parameters (such as `list`, `exit` and `bye`) will be ignored.
<br>e.g. if the command specifies `list 123`, it will be interpreted as `list`.
### Add To-do to list: `todo`

Expand Down Expand Up @@ -69,40 +77,71 @@ Format: `list`
Marks a specific task as completed.

Format: `mark INDEX`
- Marks the task at the specified `index` as completed.
- Marks the task at the specified `INDEX` as completed.
- The index refers to the index number shown in the displayed task list.
- The index must be a positive integer 1, 2, 3...
- The index **must be a positive integer** 1, 2, 3...

Examples:
- `mark 1` marks the 1st task in the task list as completed.

### Mark task as not completed: `unmark`

Marks a specific task as not completed.

Format: `unmark INDEX`
- Marks the task at the specified `index` as not completed.
- Marks the task at the specified `INDEX` as not completed.
- The index refers to the index number shown in the displayed task list.
- The index must be a positive integer 1, 2, 3...
- The index **must be a positive integer** 1, 2, 3...

Examples:
- `unmark 2` marks the 2nd task in the task list as not completed.


### Locating task by description: `find`

Finds tasks which contain the given keywords.
- The search is case sensitive. e.g. `Homework` will not match `homework`
- The search is case-sensitive. e.g. `Homework` will not match `homework`
- Only the description is searched.
- Full and partial words will be matched. e.g. `work` will match `Homework` and `work`

Format: `find KEYWORD`

Examples:
- `find assignment` returns `CS2113T assignment` and `CS3235 assignment 1`.

### Delete a task: `delete`

Delete a specific task from the task list.

Format: `delete INDEX`
- Deletes the task at the specified `index`.
- Deletes the task at the specified `INDEX`.
- The index refers to the index number shown in the displayed task list.
- The index must be a positive integer 1, 2, 3...
- The index **must be a positive integer** 1, 2, 3...

Examples:
- `delete 3` deletes the 3rd task in the task list.


### Exiting the program: `exit` or `bye`
Exits the program
Exits the program.

Format: `exit`

Format: `bye`
Format: `bye`


## Command Summary

| Action | Format, Examples |
|--------------|----------------------------------------------------------------------------------------------------------------------------|
| Add to-do | `todo DESCRIPTION`<br/>e.g. `todo Clean room` |
| Add deadline | `deadline DESCRIPTION /by DATETIME`<br/>e.g. `deadline CS2113T Quiz /by Sunday, 2359` |
| Add event | `event DESCRIPTION /from START_DATETIME /to END_DATETIME`<br/>e.g. `event CS2113T Lecture /from Friday 4pm /to Friday 6pm` |
| List | `list` |
| Mark | `mark INDEX`<br/>e.g. `mark 1` |
| Unmark | `umark INDEX`<br/>e.g. `unmark 2` |
| Find | `find INDEX`<br/>e.g. `find assignment` |
| Delete | `delete INDEX`<br/>e.g. `delete 3` |
| Exit | `exit`<br/>`bye` |


0 comments on commit 906e8a8

Please sign in to comment.