Skip to content

enisn/Enisn.Templates.CLI

Repository files navigation

CliTemplate

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:

Installation

You can install it as dotnet new template:

dotnet new --install Enisn.Templates.Cli

Usage

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

Showcase

  • AbpDevTools is a project that uses this template. You can check it out for a real-world example.

About

Pre-configured dotnet tool CLI template

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published