Skip to content

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

Closed
steveharter opened this issue Feb 22, 2018 · 4 comments
Closed

Add json support to --info output #3049

steveharter opened this issue Feb 22, 2018 · 4 comments
Labels
area-Host enhancement Product code improvement that does NOT require public API changes/additions

Comments

@steveharter
Copy link
Contributor

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

@valdisiljuconoks
Copy link

please add support for this also for list-runtimes and list-sdks

@steveharter
Copy link
Contributor Author

Setting to 3.0 as there have been several requests

@msftgits msftgits transferred this issue from dotnet/core-setup Jan 30, 2020
@msftgits msftgits added this to the Future milestone Jan 30, 2020
@maryamariyan maryamariyan added the untriaged New issue has not been triaged by the area owner label Feb 23, 2020
@jeffschwMSFT jeffschwMSFT removed the untriaged New issue has not been triaged by the area owner label Feb 24, 2020
@agocke agocke added this to AppModel Jul 28, 2022
Copy link
Contributor

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.

@dotnet-policy-service dotnet-policy-service bot added backlog-cleanup-candidate An inactive issue that has been marked for automated closure. no-recent-activity labels Aug 25, 2024
Copy link
Contributor

This issue will now be closed since it had been marked no-recent-activity but received no further activity in the past 14 days. It is still possible to reopen or comment on the issue, but please note that the issue will be locked if it remains inactive for another 30 days.

@dotnet-policy-service dotnet-policy-service bot removed this from the Future milestone Sep 9, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Oct 12, 2024
@dotnet-policy-service dotnet-policy-service bot removed no-recent-activity backlog-cleanup-candidate An inactive issue that has been marked for automated closure. labels Oct 12, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-Host enhancement Product code improvement that does NOT require public API changes/additions
Projects
Archived in project
Development

No branches or pull requests

5 participants