Stubs.Generator 1.0.10

dotnet add package Stubs.Generator --version 1.0.10
                    
NuGet\Install-Package Stubs.Generator -Version 1.0.10
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Stubs.Generator" Version="1.0.10" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Stubs.Generator" Version="1.0.10" />
                    
Directory.Packages.props
<PackageReference Include="Stubs.Generator" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Stubs.Generator --version 1.0.10
                    
#r "nuget: Stubs.Generator, 1.0.10"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Stubs.Generator@1.0.10
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Stubs.Generator&version=1.0.10
                    
Install as a Cake Addin
#tool nuget:?package=Stubs.Generator&version=1.0.10
                    
Install as a Cake Tool

Hi, this package for stub generator like Laravel command. if there is any problem email me : hossein.holy.shrine@gmail.com Put this code in program.cs:

if (await StubCommandDispatcher.TryExecuteCommandAsync(args)) return;

you can publish the main config file by:

dotnet run make:publish-config

after that you should set paths for all keys. you can use the command like this

dotnet run make:model MODEL_NAME --options

for creating entities. the options is nullable and may be this options:

1- -p: make IRepository and Repository.
2- -s: make IService and Service.
3- -m: make MasterConfig.
4- -d: make Dtos.
5- -g: make Entity Configuration.
6- -ce or -cf: make Empty Controller or Full Controller with all basic functions.
7- -all: for simply all options.

make repository if you need IRepository send -i option.

dotnet run make:repository MODEL_NAME -i

make service if you need IService send -i option.

dotnet run make:service MODEL_NAME -i

make dtos with selected options if null create all dtos

dotnet run make:dto MODEL_NAME -gmsuf
1- g Get
2- m Get Mini
3- s Save
4- u Update
5- f Filter

make controller if option null create empty controller by default and if -full create with functions.

dotnet run make:controller MODEL_NAME -full

make new test in your project

dotnet run make:test MODEL_NAME
Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  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.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.10 89 1/7/2026
1.0.9 102 1/7/2026
1.0.8 161 9/6/2025
1.0.6 284 8/7/2025
1.0.5 251 8/7/2025
1.0.4 266 8/7/2025
1.0.3 263 8/7/2025
1.0.2 252 8/6/2025
1.0.1 257 8/6/2025
1.0.0 257 8/6/2025