optionArgumentSeparator should allow multiple values
#78
Replies: 2 comments
-
|
Note: there could be a preferred option argument separator, the rest being just 'acceptable'. This could be expressed as a separate field or just with the order of the list. Probably declaring that the first separator is the preferred approach might be enough. |
Beta Was this translation helpful? Give feedback.
-
|
I've found this need too. I would put from my experience that there is not really a preferred option so much as a more commonly used convention. I think the order in an array would be adequate to communicate this. I've never seen a tool that really works better with one over another. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Some CLIs don't enforce one convention, but accept several. The Clikt library accepts both spaces and
=as separators between option names and values (--foo barand--foo=bar).It would be nice to allow expressing this in the spec.
Beta Was this translation helpful? Give feedback.
All reactions