Skip to content

Commit

Permalink
Change tag command format and remove some lines
Browse files Browse the repository at this point in the history
  • Loading branch information
leeweiming3 committed Feb 28, 2024
1 parent fae3e94 commit 2e6c3bc
Showing 1 changed file with 7 additions and 10 deletions.
17 changes: 7 additions & 10 deletions docs/UserGuide.md
Original file line number Diff line number Diff line change
Expand Up @@ -192,34 +192,31 @@ Appends the tag or tags to a candidate's list of tags.

You can list any number of tags greater than 0, and all of them will be added to the specified **INDEX**. Here, **INDEX** refers to the index number of candidates shown in the displayed candidate list.

Format: `tag INDEX [t/TAG] [t/TAG]…​`
Format: `tag INDEX [t/TAG]…​`

At least one tag must be provided.

*Example 1* : `tag 24 t/smart`

This command adds the tag "smart" to the candidate with index 24.


*Example 2* : `tag 8 t/Exceptional work t/IMO gold t/Male`

This command adds the tags "Exceptional work", "IMO gold" and "Male" to the candidate with index 8.

---

If tag command is successfully executed, the app will display the candidate with the new tags.

### Change status of a candidate: `status`

Changes the interview status of a candidate.

Interview status must be one of the following: PRESCREEN, IN_PROGRESS, WAITLIST, ACCEPTED, REJECTED.
When a candidate is added, by default it has status PRESCREEN.
Interview status must be one of the following: `PRESCREEN`, `IN_PROGRESS`, `WAITLIST`, `ACCEPTED`, `REJECTED`.
When a candidate is added, by default it has status `PRESCREEN`.
Format: `status INDEX INTERVIEWSTATUS`

*Example 1* : `status 24 IN_PROGRESS`

This command changes the status of the candidate with index 24 to "IN_PROGRESS".

---
This command changes the status of the candidate with index 24 to `IN_PROGRESS`.

If status command is successfully executed, the app will display the candidate with the new status.

Expand Down Expand Up @@ -275,7 +272,7 @@ Action | Format, Examples
**Edit** | `edit INDEX [n/NAME] [e/EMAIL] [c/COUNTRY] [p/PHONE] [t/TAG]…​`<br> e.g.,`edit 24 n/Johnny Doe e/johnnydoe@gmail.com c/Singapore`
**Find** | `find KEYWORD [MORE_KEYWORDS]`<br> e.g., `find James Jake`
**Search** | `search [n/NAME] [e/EMAIL] [c/COUNTRY] [m/COMMENT] [p/PHONE] [s/INTERVIEW_STATUS] [t/TAG]`
**Tag** | `tag INDEX [t/TAG] [t/TAG]`<br> e.g., `tag 8 t/Exceptional work t/IMO gold t/Male`
**Tag** | `tag INDEX [t/TAG]…`<br> e.g., `tag 8 t/Exceptional work t/IMO gold t/Male`
**Status** | `status INDEX INTERVIEWSTATUS`<br> e.g., `status 24 IN_PROGRESS`
**List** | `list`
**Help** | `help`

0 comments on commit 2e6c3bc

Please sign in to comment.