Skip to content

Add json support to --info output #3049

Closed

Description

@steveharter

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

Activity

  1. valdisiljuconoks commented on Mar 7, 2018

    @valdisiljuconoks

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

  2. steveharter commented on Jun 5, 2018

    @steveharter
    ContributorAuthor

    Setting to 3.0 as there have been several requests

  3. transferred this issue fromdotnet/core-setupon Jan 30, 2020
  4. added this to the Future milestone on Jan 30, 2020
  5. added
    untriaged
    on Feb 23, 2020
  6. removed
    untriaged
    on Feb 24, 2020
  7. dotnet-policy-service commented on Aug 25, 2024

    @dotnet-policy-service
    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.

  8. added
    backlog-cleanup-candidate
    on Aug 25, 2024
  9. dotnet-policy-service commented on Sep 9, 2024

    @dotnet-policy-service
    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.

  10. removed this from the Future milestone on Sep 9, 2024
  11. locked and limited conversation to collaborators on Oct 12, 2024
  12. removed
    backlog-cleanup-candidate
    on Oct 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-Hostenhancement

    Type

    No type

    Projects

    • Status
      No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions