-
Notifications
You must be signed in to change notification settings - Fork 394
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
cli: config: add docs for --show-origin #2028
Conversation
I think that it would be great to mention the option somewhere in the description around where the config file location tables are — probably as a note (md block quote). |
Done. |
4ca3e23
to
1f352d5
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Woah that was fast. Thanks @mrstegeman! LGTM
Support the --show-origin option for config, which, similar to git, prefixes each config option with the source file it originated from. References iterative/dvc#5119 References iterative/dvc#5126
Builds on iterative#5126 and iterative#5184 by showing the full merged config when listing or getting config options. References iterative#5126 References iterative#5184 References iterative/dvc.org#2028 Fixes iterative#5119
bce149f
to
46b2516
Compare
* cli: config: show merged config with --show-origin Builds on #5126 and #5184 by showing the full merged config when listing or getting config options. References #5126 References #5184 References iterative/dvc.org#2028 Fixes #5119 * Add additional tests. * Add test for merged config. * config: rename methods Co-authored-by: OLOLO ALALA <[email protected]>
Support the --show-origin option for config, which, similar to git,
prefixes each config option with the source file it originated from.
Per iterative/dvc#5119
Matches iterative/dvc#5126
❗ Please read the guidelines in the Contributing to the Documentation list if you make any substantial changes to the documentation or JS engine.
🐛 Please make sure to mention
Fix #issue
(if applicable) in the description of the PR. This causes GitHub to close it automatically when the PR is merged.Please choose to allow us to edit your branch when creating the PR.
Thank you for the contribution - we'll try to review it as soon as possible. 🙏