phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Remko Popma (Jira)" <>
Subject [jira] [Created] (PHOENIX-5488) Migrate Phoenix from commons-cli to picocli
Date Sun, 22 Sep 2019 05:51:00 GMT
Remko Popma created PHOENIX-5488:

             Summary: Migrate Phoenix from commons-cli to picocli
                 Key: PHOENIX-5488
             Project: Phoenix
          Issue Type: Improvement
            Reporter: Remko Popma

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|]

Other than picocli's support for [quoted values|#_quoted_values]], it has some other functionality
that may be of interest to Phoenix users:
 * [@-files|] (argument files)
 * [interactive (password) options|] (where
password is not echoed to the console)
 * bash/zsh [autocompletion|]
 * [colored|] usage help message (lower cognitive

Developer advantages are
 * less code
 * meticulous documentation
 * tracing facility for troubleshooting

And finally, picocli is actively maintained. (Disclaimer: I maintain picocli.)


This message was sent by Atlassian Jira

View raw message