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

[feature] conan list is not ergonomic #17299

Closed
1 task
pierricgimmig opened this issue Nov 9, 2024 · 4 comments · Fixed by #17300
Closed
1 task

[feature] conan list is not ergonomic #17299

pierricgimmig opened this issue Nov 9, 2024 · 4 comments · Fixed by #17300
Assignees

Comments

@pierricgimmig
Copy link

pierricgimmig commented Nov 9, 2024

Make conan list output all packages without requiring the "*"

Intuitively, I want to be able to list my conan packages using conan list

C:\Users\pierr\git
λ conan list
ERROR: Missing pattern or graph json file

I then have to go through the docs to find an example that tells me that I'm missing "*".

Why require the "*" argument? It's a small thing, but it's frustrating to the user, especially since Conan is close to Python, and we'd expect conan list to work like pip list does.

Suggestion, make conan list behave like conan list *

Have you read the CONTRIBUTING guide?

  • I've read the CONTRIBUTING guide
@memsharded
Copy link
Member

Hi @pierricgimmig

Thanks for your suggestion.

I am proposing the change in #17300, but can't guarantee 100% it will move forward, I will check with the team, there might be other UX reasons why this wasn't already the default, there were even tests that were checking this behavior.

@pierricgimmig
Copy link
Author

Thank you @memsharded !

@memsharded
Copy link
Member

#17300 was merged, so this will be in next Conan 2.10.

Thanks for the feedback!

@pierricgimmig
Copy link
Author

Thanks for the quick turnaround!

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 a pull request may close this issue.

2 participants