Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple Default Providers #516

Open
mkarg opened this issue May 12, 2021 · 2 comments
Open

Multiple Default Providers #516

mkarg opened this issue May 12, 2021 · 2 comments

Comments

@mkarg
Copy link
Collaborator

mkarg commented May 12, 2021

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
Copy link
Collaborator Author

mkarg commented May 12, 2021

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

@cbeust
Copy link
Owner

cbeust commented May 13, 2021

Sure, sounds useful!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants