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

verdi computer setup could raise the duplicated message in a callback #6529

Open
khsrali opened this issue Jul 16, 2024 · 1 comment
Open
Labels
type/feature request status undecided

Comments

@khsrali
Copy link
Contributor

khsrali commented Jul 16, 2024

Currently, in verdi computer setup if you use the same label of a computer that already exists, you'll notify at the very end of the command when all option are uselessly collected.

One can simply add a callback function for @options_computer.LABEL to raise click.BadParameter in such cases.

Or even better, get a confirmation from user to do the same thing as verdi computer duplicate

@khsrali khsrali added the type/feature request status undecided label Jul 16, 2024
@khsrali
Copy link
Contributor Author

khsrali commented Jul 16, 2024

related #4981
would be nice to address this as well #5018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/feature request status undecided
Projects
None yet
Development

No branches or pull requests

1 participant