-
Notifications
You must be signed in to change notification settings - Fork 5k
Add json support to --info output #3049
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
Comments
please add support for this also for |
Setting to 3.0 as there have been several requests |
Due to lack of recent activity, this issue has been marked as a candidate for backlog cleanup. It will be closed if no further activity occurs within 14 more days. Any new comment (by anyone, not necessarily the author) will undo this process. This process is part of our issue cleanup automation. |
This issue will now be closed since it had been marked |
During discussion of https://github.com/dotnet/core-setup/issues/3502 a feature to add json support to
dotnet --info
was discussed as a way for developers to easily obtain information by parsing json.Information includes the SDK version, available SDK versions, and available runtimes. Being json, it would be extensible to other additional information in the future and thus serve as general API to return environmental information.
To enable the mode the proposal is an option on
--info
like this:dotnet --info --format json
We could also add a default format as shown today:
dotnet --info --format text
Actual json syntax is TBD; marking this as future
The text was updated successfully, but these errors were encountered: