question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Tool management experience - update, list, uninstall

See original GitHub issue

Since dotnet install tool -g allows installing commands, there should be additional commands to manage the installed tools.

This includes:

  • Listing installed tool packages and command names they provide.
  • Updating tools (one specific or all)
  • Listing outdated tools (could as well be update with a “pretend”/“whatif” flag or included in a listing command)
  • Uninstalling tools

does dotnet install tool -g record any metadata at the moment? If any of the experiences above will be enabled in future updates/previews, metadata should already have been recorded for versions that didn’t provide these management experiences.

cc @wli3 @livarcocc @KathleenDollard

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:3
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

12reactions
dasMullicommented, Jan 29, 2018

I concur with list and uninstall being the next important verbs after installing tools work.

I’m a bit worried about the install tool combination - since the “obvious” list command would be dotnet list tool -g, I think it clashes a bit with the dotnet add and dotnet remove commands, since they both intersect at dotnet list.

So I have list to work with tools and references, but these classes of “things” have different pairs to manage install/uninstall(?) for tools and add/remove for references.

If tools should also be managed for project-local CLI tools, this would probably make sense to be done with dotnet add/dotnet remove as well (there were talks on nuget/home about possibly allowing nuget’s install logic to make the determination based on the package’s packageType metadata).

Then there is the sln family of verbs - dotnet sln add / dotnet sln remove.

To me, it feels like tool management would fit more naturally with the sln pattern to distinguish itself a bit from the existing commands to modify projects and solutions.

This would allow the commands to form clusters based on the concerns they deal with:

Tools: dotnet tools install / dotnet tools list / dotnet tools uninstall… Solutions: dotnet sln add / dotnet sln remove Projects: dotnet add (package|reference) / dotnet remove (package|reference) / dotnet list reference

With projects not having a “prefix” because they are used most frequently.

1reaction
livarcocccommented, May 11, 2018

Closing this as we have now moved to dotnet tool and it has install, uninstall, update and list.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to uninstall a Windows update
On the list that appears, locate the update you want to remove, and then select Uninstall next to it. Note: Some updates cannot...
Read more >
How to Uninstall Windows 10 Updates Manually
Uninstall Windows Updates with Settings and Control Panel · Click on the 'View Update History' or 'View installed update history'. Update History.
Read more >
How To Uninstall and Block Updates and Drivers on Windows ...
If a driver or update causes problems, you can uninstall it and ... Windows 10 Hiding Tool - http://bit.ly/blockWin10Updates Windows 10 How ...
Read more >
Various methods to uninstall problematic Programs and Apps
This article takes you through several methods for removing stubborn Apps, Programs and Updates in the Windows 11, and Windows 10 operating ...
Read more >
Computer Acting Up? How to Uninstall a Windows Update
Select the update in question, then click the Uninstall button that appears above the list. (Ignore the Uninstall a program command in the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found