AhmadKimiYaz.Cli 1.0.0

dotnet tool install --global AhmadKimiYaz.Cli --version 1.0.0
                    
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest
                    
if you are setting up this repo
dotnet tool install --local AhmadKimiYaz.Cli --version 1.0.0
                    
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=AhmadKimiYaz.Cli&version=1.0.0
                    
nuke :add-package AhmadKimiYaz.Cli --version 1.0.0
                    

AhmadKimiYaz.Cli

A .NET global tool that scaffolds an opinionated Clean Architecture + CQRS layer set into an existing solution — "write like Ahmad".

Install

dotnet tool install --global AhmadKimiYaz.Cli

Use

# 1) a blank solution
dotnet new sln -n MyApp

# 2) scaffold the layers into it
ahmadkimiyaz -projectName MyApp

# 3) build
dotnet build

You get MyApp.Domain, MyApp.Application, MyApp.Infrastructure, MyApp.Api plus unit/integration test projects — all wired together and added to your solution.

What's inside

  • Custom, dependency-free CQRS dispatcher (ISender / IRequestHandler<,> / IPipelineBehavior<,>) — no MediatR
  • FluentValidation + logging pipeline behaviors, auto-registered
  • EF Core 10 + PostgreSQL, repository + unit of work, auto-auditing, initial migration
  • Minimal API with self-registering endpoints, Result<T>, RFC 9457 ProblemDetails
  • Serilog, OpenAPI, a sample Products vertical slice, xUnit + Testcontainers tests, Docker

Options

Flag Description
-projectName, -p, -n <Name> Base name for the layers (required).
-o, --output <dir> Target directory (default: current). Must contain a .slnx/.sln.
-h, --help Show help.

Existing root files (README.md, .gitignore, Dockerfile, …) are never overwritten.


Made by Ahmad Taghiyev.

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

Version Downloads Last Updated
1.0.0 148 6/4/2026