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

The delete option should work only without filters (#1359) #1360

Merged

Conversation

cmuench
Copy link
Member

@cmuench cmuench commented Dec 8, 2023

Currently the delete option is confusing and has to be combined with a filter.
If someone wants to delete all customers we do not need any filter.

Magerun pull-request check-list:

  • Pull request against develop branch (if not, just close and create a new one against it)
  • README.md reflects changes (if any)
  • phar fuctional test (in tests/phar-test.sh)

Related to: #1359

Refactoring of customer:delete command.

Changes proposed in this pull request:

  • Allow to specify the --all option without any filter option.
  • Combine the --all flag with --force flag.
  • Remove --all check in filters

Currently the delete option is confusing and has to be
combined with a filter.
If someone wants to delete all customers we do not need
any filter.
@cmuench cmuench merged commit 297ca07 into netz98:develop Dec 8, 2023
14 checks passed
@cmuench cmuench added this to the 7.2.0 milestone Dec 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant