I have seen several articles including Tutorial: Create a .NET tool using the .NET CLI, which explain how to create a console application, package it as a tool, and then install it with the dotnet install tool command.
Is is possible to re-package and publish an existing console app as a tool? This would be for a case the the exe's source code is unavailable.