mma-cli
9.0.7
dotnet tool install --global mma-cli --version 9.0.7
dotnet new tool-manifest
dotnet tool install --local mma-cli --version 9.0.7
#tool dotnet:?package=mma-cli&version=9.0.7
nuke :add-package mma-cli --version 9.0.7
MMA CLI

.___ ___. .___ ___. ___
| \/ | | \/ | / \
| \ / | | \ / | / ^ \
| |\/| | | |\/| | / /_\ \
| | | | | | | | / _____ \
|__| |__| |__| |__| /__/ \__\
MMA Cli is a complete Code Generator based on ASP.NET Core to create modern APIs by following the software development best practices and the latest technologies.
Change Log:
- Improved migration process and enrich with notifications
- Databse first mode has been added to
UImode using `Import form Database' option
Getting Started
- Quick Start is a single-part, quick-start tutorial to create a solution with the
mma cli. - Interactive Mode can be used to create and run ABP based solutions with different options and details.
- Command Line Mode is a complete tutorial to develop a full stack web application with all aspects of a real-life solution.
- UI is a complete tutorial to develop a full stack web application with all aspects of a real-life solution.
Quick Start
Install the mma-cli:
dotnet tool install --global mma-cli
Create a new Solution:
mma new SolutionName
you can also use short form
mma n SolutionName
available options.
--mapper tom indecat which object mapping libirary that accept mapster or automapper and default value is automapper
mma n SolutionName --mapper mapster
Now, we need to navigate to the solution folder to start add components.
cd SolutionName
Add Entity:
mma generate entity MyEntity long # OR mma g e MyEntity longgenerate entity also require
--mappervalue and the default value isautomappermma g e MyEntity long --mapper Mapstergenerate property requires
EntityName,PK Data typesupported data types:
- Guid
- int
- long
- string
- decimal
- float
- bool
- DateTime
Default data type is
Guidavailable options.
--mappertom indecat which object mapping libirary that acceptmapsterorautomapperand default value isautomapper--no-apito skip generaate API controller for this entity.
Add/Remove Property to exsiting Entity
mma generate property MyEntity MyProperty long # OR mma g p MyEntity MyProperty long truegenerate property requires
EntityName,PropertyName,DataTypesupported data types:
- Guid
- int
- long
- string
- decimal
- float
- bool
- DateTime
Default data type is
Guidavailable options.
--removeto remove the property from existing entitymma g p MyEntity MyProperty long true --remove
Add/Remove relation to exsiting Entities
mma generate relation MyParentEntity MyChildEntity ForeignKeyProperty # OR mma g r MyParentEntity MyChildEntity ForeignKeyPropertygenerate property requires
Referece Entit Name,Child Entity Name,ForeignKey PropertyNameavailable options.
--removeto remove the property from existing entitymma g r MyParentEntity MyChildEntity ForeignKeyProperty --remove
Interactive Mode
You can use interactive mode by enter command mma without any arguments in solution path

UI
Also you can use UI mode to create and manage your solutions. Select UI from Interactive or execute mma ui
Thanks to Radzen
mma ui






| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. 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. |
This package has no dependencies.
| Version | Downloads | Last Updated | |
|---|---|---|---|
| 9.0.7 | 204 | 11/1/2025 | |
| 9.0.6 | 224 | 9/29/2025 | |
| 9.0.5 | 406 | 9/29/2025 | |
| 9.0.4 | 250 | 9/27/2025 | |
| 9.0.3 | 448 | 9/16/2025 | |
| 9.0.2 | 428 | 9/15/2025 | |
| 9.0.1 | 283 | 9/13/2025 | |
| 4.5.8 | 347 | 3/18/2025 | |
| 4.5.7 | 456 | 10/18/2024 | |
| 4.5.6 | 437 | 10/17/2024 | |
| 4.5.5 | 451 | 9/6/2024 | |
| 4.5.4 | 405 | 8/30/2024 | |
| 4.5.3 | 389 | 8/29/2024 | |
| 4.5.2 | 359 | 8/26/2024 | |
| 4.5.1 | 449 | 8/24/2024 | |
| 4.5.0 | 433 | 8/24/2024 |