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

Remko Popma updated PHOENIX-5488:
---------------------------------
    Description: 
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?

  was:
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|#_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?


> 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.3.4#803005)

Reply via email to