Remko Popma commented on GROOVY-8520:

I figured out what the underlying rule was that made {{testWithArgument}} fail. 
After that, the fix was easy. 

The last remaining failing test seems to me to expose an inconsistency in 
commons-cli. Picocli can give the same behaviour if 
{{parser.arityRestrictsCumulativeSize}} is set to false. However that would 
make several other tests fail. Thoughts?

I will push updated documentation in the next few days. 

> Replace commons-cli with picocli in CliBuilder
> ----------------------------------------------
>                 Key: GROOVY-8520
>                 URL: https://issues.apache.org/jira/browse/GROOVY-8520
>             Project: Groovy
>          Issue Type: Improvement
>          Components: command line processing
>            Reporter: Remko Popma
>            Priority: Major
> This ticket proposes to replace commons-cli with picocli in 
> {{groovy.util.CliBuilder}}.
> See [discussion on the mailing 
> list|https://lists.apache.org/thread.html/d60b6d5d4411e9ba0d7dc209cde8a9bb4abb00f0b9c0322f068c322e@%3Cdev.groovy.apache.org%3E]
>  for the original proposal and comparison with other CLI libraries.
> Goals for the initial implementation:
> * preserve the current CliBuilder behaviour as much as possible
> * deliver an implementation, tests and documentation in time to be included 
> in the 2.5 GA release

This message was sent by Atlassian JIRA

Reply via email to