Pre-configured dotnet tool CLI template.
Features implemented:
- Configuration for dotnet tool
- Dependency injection
- CommandLine argument parser (with CliFx)
- Simple update checker from nuget (optional)
Libraries used:
You can install it as dotnet new template:
dotnet new --install Enisn.Templates.Cli
You can create a new project from terminal:
dotnet new cli -n MyCli
If you wish to use Nuget Update checker you can pass -NugetUpdateCheck
or -N
option to the command:
dotnet new cli -n MyCli -N
- AbpDevTools is a project that uses this template. You can check it out for a real-world example.