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

Make it easy to emulate config overrides with --config CLI option #3

Open
taiki-e opened this issue Jan 16, 2023 · 3 comments
Open
Labels
enhancement New feature or request

Comments

@taiki-e
Copy link
Owner

taiki-e commented Jan 16, 2023

Recent cargo has --config option to override config from CLI.

I would like to make it easy to emulate this as part of the resolution option.

@taiki-e taiki-e added the enhancement New feature or request label Jan 16, 2023
@jrouaix
Copy link

jrouaix commented Dec 11, 2023

Ho yes, I just ran into this issue, I really need to read configuration from multiple files like the --config cargo would do.
Perhaps it's easy, as I can see in the sources of this project that a de::load_file and merge features are already in place.
I'll try on a fork

@jrouaix
Copy link

jrouaix commented Dec 11, 2023

Well for what I need, it's working pretty exactly as expected !
main...jrouaix:cargo-config2:main

@taiki-e
Copy link
Owner Author

taiki-e commented Dec 13, 2023

Nice! Would you open a PR?

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

No branches or pull requests

2 participants