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

[W5][W15-4]Cho Ming En #154

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

mechome
Copy link

@mechome mechome commented Feb 12, 2019

Added a new syntax to use 'delete', which is by name. Easier to delete a particular person in just one step.

Updated the DeleteCommand class to have the extra functionality and Parser to parse just the name.
User Guide also updated to reflect new usage of 'delete'

@exactlyprecise
Copy link

Nice functionality in the case where the user is lazier and does not wish to view the list before deleting.
Perhaps you can update the help functionality so the user knows about both ways to delete

@Valatheking
Copy link

Good addition since it is easier to remember or get a person's name than to remember what tag you added to them

@ypanx
Copy link

ypanx commented Feb 12, 2019

Good idea to improve the delete command to make it easier for the user.

@dreampursuer95
Copy link

Cool improvement to existing features!

Copy link

@Happytreat Happytreat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What if different people have the same name? Name is not unique field of Person. Who will delete Command delete then?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants