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

Add conan config show <conf> command #13354

Merged
merged 5 commits into from
Mar 8, 2023

Conversation

AbrilRBS
Copy link
Member

@AbrilRBS AbrilRBS commented Mar 7, 2023

Changelog: Feature: Add conan config show <conf> command.
Docs: conan-io/docs#3091

Let's you get the value for any given configuration. This is the simplest implementation, which does not allow you to input additional profiles nor conf values in the cli, so for now just works from the global.conf, but can be extended in the future:

  • Allow to take into account profiles and conf values supplied by the CLI
  • Pass a pattern to match the confs against and show the values of every matching ones

@AbrilRBS AbrilRBS requested a review from memsharded March 7, 2023 08:38
conans/model/conf.py Outdated Show resolved Hide resolved
@memsharded memsharded added this to the 2.0.2 milestone Mar 8, 2023
@memsharded memsharded merged commit 46ec640 into conan-io:develop2 Mar 8, 2023
@AbrilRBS AbrilRBS deleted the rr/config-get branch March 8, 2023 22:20
@AbrilRBS AbrilRBS changed the title Add conan config get <conf> command Add conan config show <conf> command Mar 13, 2023
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

Successfully merging this pull request may close these issues.

2 participants