[
https://issues.apache.org/jira/browse/PHOENIX-5488?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Istvan Toth resolved PHOENIX-5488.
----------------------------------
Resolution: Fixed
Thanks for the offer.
In the meantime, commons-cli has released a version with the fix, which we have
upgraded to,
so we finally have a working CLI.
I will leave the ticket open in case someone wants to pick this up.
> 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)