Awwex.DevCli 1.0.3

dotnet tool install --global Awwex.DevCli --version 1.0.3
                    
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 Awwex.DevCli --version 1.0.3
                    
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=Awwex.DevCli&version=1.0.3
                    
nuke :add-package Awwex.DevCli --version 1.0.3
                    

Awwex.DevCli

A lightweight CLI tool for generating CQRS (Command & Query) boilerplate using Clean Architecture conventions with MediatR and FluentValidation.

Usage

Run the commands inside any feature folder under the Application layer.

Example path:

Application/<Feature>

Create a Command

devcli make CreateInvoice command

Create a Query

devcli make GetInvoice query

Where to run

You must execute the command inside a feature folder under the Application layer:

src/Application/Payments
src/Application/Authentication
src/Application/Orders

What it generates

Command

Commands/CreateInvoice/
  CreateInvoiceCommand.cs
  CreateInvoiceCommandHandler.cs
  CreateInvoiceCommandValidator.cs
  CreateInvoiceCommandResult.cs

Query

Queries/GetInvoice/
  GetInvoiceQuery.cs
  GetInvoiceQueryHandler.cs
  GetInvoiceQueryValidator.cs
  GetInvoiceQueryResult.cs

Naming Rules

The CLI automatically:

  • Creates a folder based on the given name
  • Generates all required CQRS files
  • Builds namespace based on the current module

Example namespace:

Application.<Module>.Commands.<Name>
Application.<Module>.Queries.<Name>

Example Workflow

cd src/Application/Payments
devcli make CreateInvoice command
devcli make GetInvoice query

License

MIT

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.3 100 5/18/2026
1.0.2 89 5/18/2026
1.0.1 94 5/18/2026
1.0.0 87 5/18/2026