dotnet / dotnet/sdk

Support Json format for `dotnet new list`

Open
#43,679 8 comments 1 reaction 0 assignees View on GitHub
good first issue
Dominant language
C#
Stars
3.2k
Forks
1.3k
PR merge metrics
PR metrics pending

Description

### Is your feature request related to a problem? Please describe.
Calling `dotnet new list` generates a table-based output. Due to terminal size constraints some values may be automatically truncated, making it very hard for other tools to use the .NET CLI (like a [Neovim extension](https://github.com/MoaidHathot/dotnet.nvim)).

### Describe the solution you'd like
Support `--format json` as it already supported in other commands.

### Additional context
![image](https://github.com/user-attachments/assets/6d8d4090-882e-4370-a342-b3f36930e615)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.