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

Management command to remove a specific flag #548

Open
dancergraham opened this issue Feb 21, 2025 · 2 comments
Open

Management command to remove a specific flag #548

dancergraham opened this issue Feb 21, 2025 · 2 comments

Comments

@dancergraham
Copy link
Contributor

A smaller scope than #492 - it would be nice to have a management command similar to --create to remove a flag
I suggest --delete

@dancergraham
Copy link
Contributor Author

dancergraham commented Feb 21, 2025

ahh sorry there is a separate command for this - I wonder whether this would be better as an alias or comment in the main django_waffle management command... It seems strange to have so many options under the main command and a separate command just for deleting.

@dancergraham
Copy link
Contributor Author

dancergraham commented Feb 21, 2025

Any opinions on adding aliases or --help doc comments ?

  • waffle_flag --delete -> waffle-delete --flags
  • waffle_switch --delete -> waffle-delete --switches
  • waffle_sample --delete -> waffle-delete --samples

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

No branches or pull requests

1 participant