Closed rwb196884 closed 1 week ago
dotnet tool run
is for local tools; you installed the tool as global.
@KalleOlaviNiemitalo is correct - when a tool is installed globally then an executable shim is installed to the tools directory and we expect users to invoke it via that shim. In this case, you'd use swagger
:
>swagger
Swashbuckle (Swagger) Command Line Tools
Commands:
tofile: retrieves Swagger from a startup assembly, and writes to file
Isn't it really confusing to have two different ways to run the same command depending on how the command was installed?