Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feat] Remove residents from events #119

Closed
gordonlzy opened this issue Oct 23, 2021 · 0 comments · Fixed by #132
Closed

[Feat] Remove residents from events #119

gordonlzy opened this issue Oct 23, 2021 · 0 comments · Fixed by #132
Assignees
Milestone

Comments

@gordonlzy
Copy link
Collaborator

gordonlzy commented Oct 23, 2021

Remove residents from an event : exclude

Remove multiple residents from an event based on the information given(name or room number), a resident is only expected to be given one piece of information.

Format: exclude index r/INFORMATION INFORMATION, ...

  • The information given has to be all rooms or all names of residents
  • The given resident has to in the event to be removed
  • The information inputted is case-insensitive
  • Each piece of information is separated by a comma
  • If one or more of the given information is invalid, an error message is outputted and none of the residents are added to the event

Examples:

  • exclude 1 i/A101 removes the resident who stays in room A101 to the first event in the address book
  • exclude 2 i/A101, A102, A103 removes the residents who stay in rooms A101, A102 and A103 to the second event in the address book
  • exclude 3 r/John Doe removes John Doe to the third event in the address book
  • exclude 4 r/John Doe, Jane Doe removes John Doe and Jane Doe to the fourth event in the address book
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant