Consoleable (nuget): A slightly-opinionated `dotnet new` template for a component classlib which also runs from the commandline. The opinions are that logging, configuration and testing are good  things, but should each be opt-in and should then work out of the box.  Usage:  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dotnet new consoleable [--name MyName] [--xunit] [--nunit] [--sln] [--serilog] [--testbase] [--netstandard2] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # --xunit : also generate a skeleton xunit test project for the new project # --nunit : also generate a skeleton nunit test project for the new project # --sln : also generate a solution file referencing the new project(s). # --serilog : use Serilog for logging # --testbase : add TestBase fluent assertions to your test project # --net5 | --netstandard2 : generate projects with the given framework target instead of net6  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  https://github.com/chrisfcarroll/Consoleable
Keywords: dotnet-new|templates|console|nunit|test|testbase|dotnet-core