Skip to content

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

Open
@khsrali

Description

@khsrali

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions