Skip to content

Possible to have 'choice' type arguments? #217

Answered by jmcdo29
gCardinal asked this question in Q&A
Discussion options

You must be logged in to vote

You could simulate this with a required option which will pretty much act like an argument, but come in through the options parameter instead.

I can look into how to add this functionality otherwise, but it will probably be a breaking change to make the current commander API line up better with nest-commander's API

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@gCardinal
Comment options

Answer selected by gCardinal
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants