cbeust / jcommander

Command line parsing framework for Java

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Multiple Default Providers

mkarg opened this issue · comments

Sophisticated CLI tools allow the provision of multiple default sources, e. g. in a first step these tools will check environment variables, and if nothing found, they will check property files. It would be a very beneficial addition to jCommander to be able to register an ordered sequence of IDefaultProvider which will be checked, and the first default to be applied.

@cbeust WDYT? If we will provide this, would you accept it?

Sure, sounds useful!