jcommander icon indicating copy to clipboard operation
jcommander copied to clipboard

Multiple Default Providers

Open mkarg opened this issue 3 years ago • 2 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.

mkarg avatar May 12 '21 13:05 mkarg

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

mkarg avatar May 12 '21 13:05 mkarg

Sure, sounds useful!

cbeust avatar May 13 '21 01:05 cbeust