Skip to content

Bug: Add command requires phone and email as a mandatory field #5

Description

@jeronkk

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

  1. Enter the command below.
add n/John Doe p/83838383 j/Frontend SWE s/Interview Scheduled a/9 Recruit Lane t/urgent
  1. 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

image.png

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions