dotnet / sdk

Core functionality needed to create .NET Core projects, that is shared between Visual Studio and CLI
https://dot.net/core
MIT License
2.66k stars 1.06k forks source link

Cannot control verbosity with `dotnet tool restore --verbosity` #27153

Open lonix1 opened 2 years ago

lonix1 commented 2 years ago

Describe the bug

dotnet tool restore --verbosity x has no effect on verbosity.

To Reproduce

quiet

$ dotnet tool restore --verbosity quiet
Tool 'cake.tool' (version '2.2.0') was restored. Available commands: dotnet-cake
Restore was successful.

minimal

$ dotnet tool restore --verbosity minimal
Tool 'cake.tool' (version '2.2.0') was restored. Available commands: dotnet-cake
Restore was successful.

normal

$ dotnet tool restore --verbosity normal
Tool 'cake.tool' (version '2.2.0') was restored. Available commands: dotnet-cake
Restore was successful.

...same for detailed and diagnostic.

Exceptions (if any)

no

Further technical details

dotnet 6.0.400 linux

marcpopMSFT commented 1 year ago

@baronfel verbosity is listed and accepted in many places where it doesn't do much or anything. If you want to do an analysis of all of them we could clean it up but it's not high priority to me.

IlIlIllIllI commented 1 year ago

Having the same issue on Windows, v6.0.405

marcpopMSFT commented 12 months ago

Lower priority but we should do a pass over verbosity

mattleibow commented 1 month ago

one reason this would be nice to have is the fact if I have a few tools it just hangs for like 10 mins and then boom done. No feedback of each tool install or anything. That would be really helpful for people (me) that like to see some sort of progress.