groovy-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Remko Popma (JIRA)" <>
Subject [jira] [Commented] (GROOVY-8520) Replace commons-cli with picocli in CliBuilder
Date Wed, 18 Apr 2018 13:18:00 GMT


Remko Popma commented on GROOVY-8520:

I pushed the changes. I renamed the package to {{groovy.cli.CliBuilder}}, to avoid clashing
with {{groovy.util.CliBuilder}} but open to changing this.

The code lives in the new {{groovy-cli-picocli}} module. This requires picocli-3.0.0-beta-1,
which I just released so may take a few hours for mirror caching to catch up.

I added tests and found the picocli version is still not fully compatible with the commons-cli
version. I will try to address this in the next few days. I will also update the CliBuilder
docs in Domain-Specific Languages to clarify there are now two implementations, and what the
differences are.

> Replace commons-cli with picocli in CliBuilder
> ----------------------------------------------
>                 Key: GROOVY-8520
>                 URL:
>             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|]
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

View raw message