-
Notifications
You must be signed in to change notification settings - Fork 988
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] Include conan --version
command in conan --help
text
#13952
Comments
Hi @meghfossa Thanks for your suggestion. However, I think this proposal goes a bit too far. Basically all other tools out there do not implement anything remotely similar. If you want to control the Conan version, you have the |
That's fair. But I do think including As a additional datapoint, I've added few popular app/pkg-manager that I've come across in past that either include additional attrs (rel dep) or provide machine-readable formatting.
|
Good point. |
Lets go for it, lets do it |
Implemented in #13999 for 2.0.7 |
What is your suggestion?
Hi,
conan --help
command, I can see help text message aroundconan --version
. Currently,conan --version
command is hidden and not documented in help message. This is so, as a user I can identify which conan version I'm using easily.conan --version
command, I can retrieve version, of conan.conan --version json
command, I can retrieve machine-readable version, of conan.conan --version json
command, I can retrieve machine-readable version, of python. This is so, I can easily see which python environment is being used by conan, as this is a field requested when creating a bug report.Maybe something like this:
conan --help
andconan
conan --version
~/code/sbom (feat/conan-sbom) » conan --version Conan version 2.0.5
conan --version json
Have you read the CONTRIBUTING guide?
The text was updated successfully, but these errors were encountered: