-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Description
per issue #19650
I observed that the original issue reporter has shared a feature with similar functionalities here. The implementation appears thought out, and there's an opportunity to standardize the format further to align with the current structure of the dotnet tool. This effort is commendable and serves as both great work and a source of inspiration.
Ideas for dotnet tool update --all
option
For global tools
Acquiring the list of dotnet tools
It is able to use dotnet tool list -g
command to acquire the list of global tools installed. Since it is of the following format, it is able to read in the list of packageIds
in the first column.
Updating the list of dotnet tools
After getting the list of dotnet tools, it might be able to use dotnet tool update [packageId] -g
using DotnetCommand
or other command executors.
For local tools
Acquiring the list of dotnet tools
Similar to global tools, It is able to use dotnet tool list --local
command to acquire the list of local tools installed. Local tools has 4 columns and should read in the list of packageIds
in the first column.
Updating the list of dotnet tools
After getting the list of dotnet tools, it might be able to use dotnet tool update [packageId]
using DotnetCommand
or other command executors.