The dotnet-cli is a great experience if you like to automate things. I also want to automate things so I developed a own dotnet-tool which is hosted for my company on a own on-premise Azure Devops server. The problem begins to roll out new versions of that tool. Some colleagues always forget to update it. So I want to show a hint to the user if the tool is depreciated.
Problem:
The dotnet-cli has no command to update all tools at once. You must call dotnet tool update for each specific product. Also there is no command to check if a newer version would be available.
The only way atm ist to call dotnet tool search. Because in that output the newest version will be listed. But that command only target nuget.org. So it is useless for me.
Solution:
Provide a own command to check if the tool (or local nuget) is depreciated. Alternative an option on list: dotnet tool list -g -checkversion.
My Workaround:
Atm. I will use the devops-api to get the newest version number. At startup my tool compares the version an shows a hint. This is working good enough for me. But I think that this feature would be good for other people too.
The dotnet-cli is a great experience if you like to automate things. I also want to automate things so I developed a own dotnet-tool which is hosted for my company on a own on-premise Azure Devops server. The problem begins to roll out new versions of that tool. Some colleagues always forget to update it. So I want to show a hint to the user if the tool is depreciated.
Problem: The dotnet-cli has no command to update all tools at once. You must call
dotnet tool update
for each specific product. Also there is no command to check if a newer version would be available.The only way atm ist to call
dotnet tool search
. Because in that output the newest version will be listed. But that command only target nuget.org. So it is useless for me.Solution: Provide a own command to check if the tool (or local nuget) is depreciated. Alternative an option on list:
dotnet tool list -g -checkversion
.My Workaround: Atm. I will use the devops-api to get the newest version number. At startup my tool compares the version an shows a hint. This is working good enough for me. But I think that this feature would be good for other people too.