I’m under the impression that Commons-CLI is not under active development any 
more (anyone on the list, feel free to correct me if I’m wrong). 

I would recommend that you take a look at picocli 
(https://github.com/remkop/picocli). Disclosure: I’m the author.)

Picocli has a pluggable default provider 
(https://picocli.info/#_default_provider), so it should be fairly 
straightforward to implement what you describe. 

It also has other nice features that you might be interested in, like usage 
help with ANSI colors, autocompletion, support for subcommands and much more. 

Please take a look. 
Happy to help if any issues pop up. 

Remko.

(Shameless plug) Every java main() method deserves http://picocli.info

> On Feb 10, 2019, at 10:05, Albretch Mueller <lbrt...@gmail.com> wrote:
> 
> of course, the properties file would be the one describing the data,
> even if the command line arguments would take precedence
> 
> lbrtchx
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscr...@commons.apache.org
> For additional commands, e-mail: user-h...@commons.apache.org
> 

Reply via email to