Install the templates
Install PouryaKit.Templates at the published version, which every solution it generates pins.
What it is
PouryaKit.Templates is a dotnet new template package with three Project templates: pouryakit-monolith, pouryakit-modular-monolith and pouryakit-service. Each starts a new application from the Proving Sample's business code in one composition.
Name the version
The template package's version becomes the Kit version every generated project pins, as PouryaKitVersion in its Directory.Packages.props. Without a version, the install takes whatever version its sources resolve that day. @ separates the version, as below: Install and generate.
When to use it
Once per machine, and again for each new Kit version you want new solutions to start from. A solution you already generated keeps its version until you change PouryaKitVersion in it.
Install and generate
Install the template package
From nuget.org, at the published version:
dotnet new install PouryaKit.Templates@0.1.0-preview.2The install lists the three templates it added, by name and short name.
Generate a solution
Pick one composition; Choose a template compares them.
dotnet new pouryakit-monolith -n Acme.Shop
dotnet new pouryakit-modular-monolith -n Acme.Shop
dotnet new pouryakit-service -n Acme.StockEach generates a solution in a folder named after -n, and restores it; --no-restore skips the restore.