Skip to content

NikiforovAll/na-templates

Repository files navigation

NikiforovAll.CleanArchitecture.Templates

GitHub Actions Status NuGet NuGet NuGet

GitHub Actions Build History

Template Status
na-ca .NET
na-es .NET
na-ga .NET
na-bu N/A

A collection of templates for the rapid development of enterprise applications. (Clean Architecture, DDD, Event Sourcing)

Install

dotnet new --install NikiforovAll.CleanArchitecture.Templates

Once installed, you can see a list of templates by running:

$ dotnet new -l na-
# These templates matched your input: 'na-'

# Template Name                Short Name  Language  Tags
# ---------------------------  ----------  --------  --------------------------------------------
# Build Project Template       na-bu       bash      build-project/Template
# Clean Architecture Template  na-ca       [C#]      CleanArchitecture/DDD/Template
# Event Sourcing Template      na-es       [C#]      EventSourcing/CleanArchitecture/DDD/Template
# Gateway Template             na-ga       [C#]      gateway/Template

Overview

The engine itself dotnet new provides information about possible configuration options.

dotnet new na-bu -h
dotnet new na-ca -h
dotnet new na-es -h
dotnet new na-ga -h

Usage

The next command create default template in my-project folder.

dotnet new na-ca -n my-project

You can use --dry-run option to see what happens during command execution.

Development

Run build pipeline: dotnet cake