Description
When I use the add command to add a recruit that does not have an email address or phones number, the invalid command format error will show. I think not everyone has an email or phone number and I believe that it should be optional.
Steps to reproduce
- Enter the command below.
add n/John Doe p/83838383 j/Frontend SWE s/Interview Scheduled a/9 Recruit Lane t/urgent
- The error message below is shown.
Invalid command format! add: Adds an applicant to the address book. Parameters: n/NAME p/PHONE e/EMAIL j/JOB_POSITION s/STATUS a/ADDRESS [t/TAG]... Example: add n/John Doe p/98765432 e/johnd@example.com j/Frontend SWE s/Online Assessment a/311, Clementi Ave 2, #02-25 t/recommended t/busy

Description
When I use the
addcommand to add a recruit that does not have an email address or phones number, the invalid command format error will show. I think not everyone has an email or phone number and I believe that it should be optional.Steps to reproduce
Invalid command format! add: Adds an applicant to the address book. Parameters: n/NAME p/PHONE e/EMAIL j/JOB_POSITION s/STATUS a/ADDRESS [t/TAG]... Example: add n/John Doe p/98765432 e/johnd@example.com j/Frontend SWE s/Online Assessment a/311, Clementi Ave 2, #02-25 t/recommended t/busy