huiyuanai709.cqrs 1.0.6

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

CQRS tools

Create directory, commands, queries in order to implement CQRS pattern

Installation

dotnet tool install -g huiyuanai709.cqrs

Help

cqrs help

Usage

Create Application, Domain, Infrastructure and add this projects to specified sln. By default, it will traverse the folders and find the first sln

cqrs project --name Identity

Create Directory

Resources/

Resources/Commands/

Resources/Queries/

cqrs init

Create command, CommandHandler and optional return type

cqrs command --name LoginCommand --type User

Create Query, QueryHandler and optional return type

cqrs query --name UserQuery --type User
Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.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.6 124 5/12/2023
1.0.5 130 5/10/2023
1.0.4 150 5/9/2023
1.0.3 97 5/8/2023
1.0.2 97 5/8/2023
1.0.1 145 4/24/2023
1.0.0 150 4/24/2023