[bug][2.0] conan config list prints to stderr
See original GitHub issueEnvironment Details (include every applicable attribute)
- Operating System+version: Ubuntu 22.04
- Compiler+version:
- Conan version: 2.0.0-beta3
- Python version:
Steps to reproduce (Include if Applicable)
conan config list
prints all available config options to stderr instead of stdout. That makes it difficult/annoying to e.g. grep for options.
Logs (Executed commands with output) (Include/Attach if Applicable)
Issue Analytics
- State:
- Created a year ago
- Comments:8 (5 by maintainers)
Top Results From Across the Web
[bug] conan config list result is incomplete #12074 - GitHub
run conan config list. Several configurations for which conan has a built-in logic are not listed: tools.apple:sdk_path
Read more >conan config — conan 1.56.0 documentation
Used to edit conan.conf, or install config files. positional arguments: {get,home,install,rm,set,init,list} ...
Read more >Untitled
Kreiss aria dining table, Pictures singing happy birthday, Lough eske castle hotel ... Lorenzo's pizza deer park ny menu, Tumble bug 2 free...
Read more >mEN - ALBA.Net
Klubnyak 2013 skachat, Dorian popa o noua viata muzica, Kassiano horse, ... Pgarsh-ipad2r, Gualeguaychu indio, Facebook settings friends list, ...
Read more >2001-September.txt - Python mailing list
Is there any configuration of mailman, pipermail, etc, that needs to be done to ... Mailman import mm_cfg program = sys.argv[0] @@ -73,8...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Just bumped into this and would also like to point out that the output of
conan config list
is essentially the same as the json output, with the exception that the text output containsSupported Conan global.conf and [conf] properties:
which I think should go toconan config list --help
. After you’ve run that command once you know what it does and you don’t need the manual to be printed every time. Imagine ifgit config --list
would begin it’s listing withCurrent git configuration settings:
or something.I’d say the most intuitive way would be to keep the default listing 1-to-1 with other stable formats and add additional flags to make it look nicer. Again with the git examples:
git log
vsgit log --oneline --graph
. The current output is pretty readable as it is, but if you want to support easier grouping, add an optional globbing pattern:conan config list core.*
and so on, but please don’t make the customized special case output the default.@lindblandro
I agree, those explanations can be removed. We have fixed it in https://github.com/conan-io/conan/pull/12235, removing those things too, but if there are still some pending or a new one appears, please submit a new issue, or create a PR to remove it. Thanks!