Skip to content

Commit

Permalink
Update UserGuide.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Mahidharah authored Nov 15, 2023
1 parent 0aa5c2e commit e9939a5
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions docs/UserGuide.md
Original file line number Diff line number Diff line change
Expand Up @@ -379,15 +379,19 @@ Password changed successfully.
--------------------------------------------------------------------------------------------------------------------
#### Add developer : `add-developer`

> Adds a new developer to the address book.
> Adds a new developer with the given details to the address book.
Format: `add-developer n/NAME p/PHONE_NUMBER e/EMAIL a/ADDRESS [d/DATE_JOINED] r/ROLE s/SALARY [pr/PROJECT_NAME]... g/GITHUB_ID rt/RATING`

* Adds the developer with the given details to the address book.
* Not specifying any `PROJECT_NAME` will add the developer without assigning them to any projects.
* Not specifying the `DATE_JOINED` will automatically use today's date as the date joined.
* `NAME` cannot be the same as another existing developer's name in the address book. Checks are case-insensitive.
* If specified, `PROJECT_NAME` should be the exact name of an existing project.
**Constraints:**
1. `NAME` cannot be the same as another existing developer's name in the address book. Checks are case-insensitive.
2. `PROJECT_NAME` should be the exact name of an existing project if specified.
If project to be assigned does not exist, consider [adding the project](#add-project) first!

**Optional Fields:**
1. `PROJECT_NAME` - if prefix pr/ is missing in the command, added developer will not be assigned to any projects
2. `DATE_JOINED` - if prefix d/ is missing in the command, added developer's date joined will automatically use today's date

* Note that for `RATING` values that are not in increments of 0.5 (eg. 3.2 or 3.8 instead of 3.0 or 3.5), the decimal portion
may not be reflected as clearly in the coloured stars.

Expand Down

0 comments on commit e9939a5

Please sign in to comment.