You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pinot.apache.org by GitBox <gi...@apache.org> on 2021/11/05 14:58:40 UTC

[GitHub] [pinot] walterddr opened a new issue #7710: Support extended functionalities in CLI

walterddr opened a new issue #7710:
URL: https://github.com/apache/pinot/issues/7710


   #7673 outlines the major step to retire args4j and replace it with picocli.
   
   However there are a couple of follow-ups that we need to do to ensure better error messaging and raising earlier argument parsing exception 
   
   1. Add mutually exclusive option check for now. (e.g. -configFile cannot be used together with explicit config settings, but we dont error out for now)
   2. Add enum checker (e.g. -fileFormat accepts only ARVO/JSON/CSV... but not arbitrary string)
   3. Usage of `org.apache.pinot.tools.Command` and `org.apache.pinot.tools.AbstractBaseCommand` can be simplify because picocli natively supports --help and --version redirect.
   4. better printout for help messages and example.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org