You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The search result of the package should be “totalDownloads” instead of “total downloads” when executing command “dotnet package search <Package Name> --format json”
#13165
.\dotnet.exe package search <package_name> --format json
(also repros with --exact-match)
The json output of the dotnet package search should have total downloads be a single word, rather than two words with a space. This would allow accessing the property with dot notation rather than having to rely on deferencing the parsed json with brackets.
This issue occurs both when running with and without the --exact-match flag.
Expected:
output would have "totalDownloads", "total_downloads" or something similar, that is a single word.
Actual:
Verbose Logs
No response
The text was updated successfully, but these errors were encountered:
NuGet Product Used
dotnet.exe
Product Version
.NET SDK 9.0.100-alpha.1.24062.11
Worked before?
N/A
Impact
It bothers me. A fix would be nice
Repro Steps & Context
.\dotnet.exe package search <package_name> --format json
(also repros with --exact-match)
The json output of the dotnet package search should have total downloads be a single word, rather than two words with a space. This would allow accessing the property with dot notation rather than having to rely on deferencing the parsed json with brackets.
This issue occurs both when running with and without the --exact-match flag.
Expected:
output would have "totalDownloads", "total_downloads" or something similar, that is a single word.
Actual:
Verbose Logs
No response
The text was updated successfully, but these errors were encountered: