-
In click, I have the following:
This allows me to express the command line as: I would like to turn this into an option group (because there are other options in other parts of the code), but the first element is an argument, not an option. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
No, option groups are for flag options only. All positional arguments goes (optionally) in the "Positional arguments" section (if you specify What happens in this case?
Is term_2 searched in |
Beta Was this translation helpful? Give feedback.
No, option groups are for flag options only. All positional arguments goes (optionally) in the "Positional arguments" section (if you specify
help
for at least one of them). You can still define constraints on all parameters with@constraint
.What happens in this case?
Is term_2 searched in
field_3
?