forked from nus-cs2103-AY2324S2/tp
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #62 from julia-cp/branch-UserGuideGroup
Update UserGuide
- Loading branch information
Showing
1 changed file
with
42 additions
and
2 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 |
---|---|---|
|
@@ -10,6 +10,8 @@ The Hackathon Participant Management Application is designed to help organizers | |
- [Adding a person](#adding-a-person--add) | ||
- [Listing all persons](#listing-all-persons--list) | ||
- [Editing a person](#editing-a-person--edit) | ||
- [Grouping a person](#grouping-a-person--group) | ||
- [Grouping randomly listed persons](#grouping-randomly-listed-persons--grouprandom) | ||
- [Comment](#commenting-a-person--comment) | ||
- [Viewing comments](#viewing-comments--view) | ||
- [Locating persons by keywords](#locating-persons-by-keywords--find) | ||
|
@@ -145,6 +147,42 @@ Cautions / Warnings for Edit: | |
* Updated information should be different from the original. | ||
|
||
|
||
### Grouping a person : `group` | ||
|
||
Assigns a group to a participant or a staff. | ||
|
||
Format: `group <id> [<group number>]` | ||
|
||
* You can only randomly assign a person to an existing group. | ||
* The `<id>` refers to the identification number of the contact in the list | ||
* The `<group number>` can be any positive integer | ||
* You can only group staff and participant, sponsor cannot be grouped | ||
|
||
Examples: | ||
* `group 1` | ||
* `group 1 3` | ||
|
||
Tips for Group: | ||
* Not typing the group number will randomly assign the person into an existing group. | ||
|
||
Cautions / Warnings for Group: | ||
* When no group exist you cannot randomly assign a person into a group. | ||
|
||
|
||
### Grouping randomly listed persons : `grouprandom` | ||
|
||
Assigns a random group to each participant and staff that are currently listed. | ||
|
||
Format: `grouprandom <maximum group size>` | ||
|
||
* The `<maximum group size>` refers to the maximum number of people in a group | ||
* The `<maximum group size>` can be any positive integer | ||
* You can only group staff and participant, sponsor cannot be grouped | ||
|
||
Example: | ||
* `grouprandom 3` | ||
|
||
|
||
### Commenting a person : `comment` | ||
Add notes or comments to contacts | ||
format `comment <id>, <notes>` | ||
|
@@ -356,10 +394,12 @@ _Details coming soon ..._ | |
|
||
Action | Format, Examples | ||
--------|------------------ | ||
**Add** | `add n/NAME p/PHONE_NUMBER e/EMAIL a/ADDRESS c/CATEGORY [t/TAG]…` <br> e.g., `add n/James Ho p/22224444 e/[email protected] a/123, Clementi Rd, 1234665 t/friend c/participant t/colleague` | ||
**Add** | `add n/NAME p/PHONE_NUMBER e/EMAIL c/CATEGORY [g/GROUP_NUMBER]` <br> e.g., `add n/James Ho p/22224444 e/[email protected] c/participant g/3` | ||
**Clear** | `clear` | ||
**Remove** | `delete INDEX`<br> e.g., `delete 3` | ||
**Update** | `edit INDEX [n/NAME] [p/PHONE_NUMBER] [e/EMAIL] [a/ADDRESS] [t/TAG]…`<br> e.g.,`edit 2 n/James Lee e/[email protected]` | ||
**Edit** | `edit INDEX [n/NAME] [p/PHONE_NUMBER] [e/EMAIL] [c/CATEGORY] [g/GROUP_NUMBER]`<br> e.g.,`edit 2 n/James Lee e/[email protected]` | ||
**Group** | `group INDEX [GROUP_NUMBER]`<br> e.g., `group 1 3` | ||
**Group Randomly** | `grouprandom MAX_GROUP_SIZE`<br> e.g., `grouprandom 3` | ||
**Find** | `find KEYWORD [MORE_KEYWORDS]`<br> e.g., `find James Jake` | ||
**List** | `list` | ||
**Comment** | `comment <name>, <notes>` | ||
|