Skip to content

Conversation

@ddutt
Copy link
Member

@ddutt ddutt commented Oct 8, 2025

When we provide a static set of choices for an argument such as ['loopback', 'ethernet'...], if the user says '!ethernet', nubia currently rejects it as an invalid choice. This makes providing choices complicated.

This patch allows developer to provide just the list of choices, and nubia will accept a "!" of any of those values, or "~" as well.

Tests have been added as well.

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.

2 participants