I wrote a .net core console program that generates some code to help me speed up my development process. Now I would like to distribute this console program via NuGet, so I can use the tool in other projects like the command line tools from Entity Framework. But I read everywhere, that NuGet is only used for class libraries. But I want my package to be able to run and it should not be used for imports and stuff like that. And obviously Microsoft did that with the Entity Framework Tools, so I think there must be a way.
Can anybody point me in the right direction?
I found this question (Best practice to include console app in NuGet ) but the problem is, that the answer is, that it is not possible, which it is, as you can see with the EF Tools.