You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "Remko Popma (JIRA)" <ji...@apache.org> on 2018/05/25 00:00:00 UTC

[jira] [Comment Edited] (GROOVY-8592) Migrate command line tools to picocli version of CliBuilder

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

Remko Popma edited comment on GROOVY-8592 at 5/24/18 11:59 PM:
---------------------------------------------------------------

I did catch myself  typing {{groovydoc -h}} and being surprised at the result (and forgetting and doing the same a few days later), so I would argue that this would be a good addition. 

About not consolidating the other switches, I think at this stage for the 2.5 version that is probably the wise decision. 

Hope to provide a PR in the next few days. 


was (Author: remkop@yahoo.com):
I did catch myself  typing {{groovydoc -h}} and being surprised at the error message (and forgetting and doing the same a few days later), so I would argue that this would be a good addition. 

About not consolidating the other switches, I think at this stage for the 2.5 version that is probably the wise decision. 

Hope to provide a PR in the next few days. 

> Migrate command line tools to picocli version of CliBuilder
> -----------------------------------------------------------
>
>                 Key: GROOVY-8592
>                 URL: https://issues.apache.org/jira/browse/GROOVY-8592
>             Project: Groovy
>          Issue Type: Improvement
>          Components: command line processing
>    Affects Versions: 2.5.0-rc-3
>            Reporter: Remko Popma
>            Priority: Major
>             Fix For: 2.5.0
>
>
> The following command line tools use either {{groovy.cli.commons.CliBuilder}} or implicitly use {{groovy.util.CliBuilder}} which delegates to the commons-cli version of CliBuilder:
> * groovyConsole (groovy.ui.Console)
> * groovydoc (org.codehaus.groovy.tools.groovydoc.Main)
> * groovysh (org.codehaus.groovy.tools.shell.Main)
> This ticket proposes to use {{groovy.cli.picocli.CliBuilder}} instead, so that all command line tools in the {{bin}} directory of the Groovy distribution show usage help in ANSI colors.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)