How to implement repeatable group #64
Unanswered
BMBurstein
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I couldn't find how to do repeatable arguments in the documentation, and I need something more complex than that.
How do I accept only pairs of strings? So any of these would be OK:
my_cli_app str1 str2
my_cli_app str1 str2 foo bar
my_cli_app str1 str2 foo bar a b c d e f
but not these:
my_cli_app
my_cli_app str1
my_cli_app str1 str2 foo
Beta Was this translation helpful? Give feedback.
All reactions