You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Istvan Toth (Jira)" <ji...@apache.org> on 2023/04/06 07:46:00 UTC

[jira] [Reopened] (PHOENIX-5488) Migrate Phoenix from commons-cli to picocli

     [ https://issues.apache.org/jira/browse/PHOENIX-5488?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Istvan Toth reopened PHOENIX-5488:
----------------------------------

> Migrate Phoenix from commons-cli to picocli
> -------------------------------------------
>
>                 Key: PHOENIX-5488
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-5488
>             Project: Phoenix
>          Issue Type: Improvement
>            Reporter: Remko Popma
>            Priority: Major
>
> Looking at PHOENIX-3710, the lack of quoting support in commons-cli can cause issues at times. If my understanding is correct, the proposed patch would not be necessary if the command line parser library did not incorrectly strip off the quotes. (Bugreports were filed against this in 2015 and 2017.)
> Would there be any interest in migrating from commons-CLI to the [picocli|https://picocli.info/] library?
> Other than picocli's support for [quoted values|https://picocli.info/#_quoted_values], it has some other functionality that may be of interest to Phoenix users:
>  * [@-files|https://picocli.info/#AtFiles] (argument files)
>  * [interactive (password) options|https://picocli.info/#_interactive_password_options] (where password is not echoed to the console)
>  * bash/zsh [autocompletion|https://picocli.info/autocomplete.html]
>  * [colored|https://picocli.info/#_ansi_colors_and_styles] usage help message (lower cognitive load)
> Developer advantages are
>  * less code
>  * meticulous documentation
>  * tracing facility for troubleshooting
> And finally, picocli is actively maintained. (Disclaimer: I maintain picocli.)
> Thoughts?



--
This message was sent by Atlassian Jira
(v8.20.10#820010)