groovy-notifications mailing list archives

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

    [ https://issues.apache.org/jira/browse/GROOVY-8520?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16442480#comment-16442480
] 

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: 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
(v7.6.3#76005)

Mime
View raw message