KY.Generator.CLI 8.6.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package KY.Generator.CLI --version 8.6.0
                    
NuGet\Install-Package KY.Generator.CLI -Version 8.6.0
                    
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="KY.Generator.CLI" Version="8.6.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="KY.Generator.CLI" Version="8.6.0" />
                    
Directory.Packages.props
<PackageReference Include="KY.Generator.CLI" />
                    
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 KY.Generator.CLI --version 8.6.0
                    
#r "nuget: KY.Generator.CLI, 8.6.0"
                    
#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 KY.Generator.CLI@8.6.0
                    
#: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=KY.Generator.CLI&version=8.6.0
                    
Install as a Cake Addin
#tool nuget:?package=KY.Generator.CLI&version=8.6.0
                    
Install as a Cake Tool

KY.Generator alternate text is missing from this package README image

Documentation | Getting Started | Supported Platforms | Need Help?

Setup for Visual Studio

via Annotations

Pros: Easy to use, very quick to implement

Cons: Attributes are part of the build, annotations assembly has to be published and loaded

Install nuget package KY.Generator alternate text is missing from this package README image

Decorate a class with one of our generate attributes

using KY.Generator;
...
[Generate("Output")]
internal class TypeToRead
{
  public string Property { get; set; }
}

See the complete showcase

See documentation for more details

via Fluent API

Pros: generator code is completely separated and is not published, more actions available than via annotations

Cons: the initial setup is not so easy as with annotations

Create a new class library project

Install nuget package KY.Generator.Fluent alternate text is missing from this package README image

Derive a class from GeneratorFluentMain, override the execute method and use the Read method

public class GeneratorMain : GeneratorFluentMain
{
    public override void Execute()
    {
        this.Read()
            .FromType<Types>()
            .Write()
            .AngularModels().OutputPath("Output/Models").SkipHeader()
            .AngularServices().OutputPath("Output/Services").SkipHeader();
    }
}

See the complete showcase

See documentation for more details

Setup for Console/Powershell

Download KY.Generator.exe alternate text is missing from this package README image from Releases

Run a command

KY.Generator.exe reflection -assembly=KY.Generator.Examples.Reflection.dll -name=ExampleType -namespace=KY.Generator.Examples.Reflection -relativePath=Output -language=TypeScript

See documentation for more details

Read More

For complete overview see our documentation

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

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
10.0.0-preview.15 497 7/23/2025
9.0.0 88 8/1/2025
8.8.6 323 2/16/2024
8.8.5 238 2/16/2024
8.8.4 240 2/13/2024
8.8.3 235 2/10/2024
8.8.2 233 2/9/2024
8.8.1 309 12/8/2023
8.8.0 217 12/3/2023
8.7.0 315 10/18/2023
8.6.0 304 4/17/2023
8.5.0 411 11/21/2022
8.4.4 494 8/27/2022
8.4.3 481 8/16/2022
8.4.2 491 7/22/2022
8.4.1 476 7/22/2022
8.4.0 509 7/22/2022
8.3.0 533 5/18/2022
8.2.0 437 12/17/2021
8.1.0 364 12/12/2021
8.0.0 454 10/12/2021
7.6.0 390 12/12/2021
7.5.0 481 8/10/2021
7.4.0 566 7/31/2021
7.3.1 495 7/29/2021
7.3.0 536 7/29/2021
7.2.0 466 7/26/2021
7.1.0 539 7/18/2021
7.0.0 497 7/13/2021
6.7.4 438 5/25/2021
6.7.3 461 5/21/2021
6.7.2 472 5/20/2021
6.7.1 450 5/18/2021
6.7.0 452 5/11/2021
6.6.6 546 5/1/2021
6.6.5 460 5/1/2021
6.6.4 463 4/7/2021
6.6.3 468 4/2/2021
6.6.2 480 3/5/2021
6.6.1 480 3/4/2021
6.6.0 549 2/9/2021
6.5.0 497 2/2/2021
6.4.0 511 1/22/2021
6.3.0 522 1/11/2021
6.2.2 537 1/8/2021
6.2.1 464 1/4/2021
6.2.0 584 12/18/2020
6.1.0 518 12/16/2020
6.0.0 529 12/14/2020
5.6.1 558 12/7/2020
5.6.0 578 11/27/2020
5.5.3 680 11/21/2020
5.5.2 569 11/17/2020
5.5.1 521 11/16/2020
5.5.0 638 11/14/2020
5.4.0 594 11/9/2020
5.3.0 565 9/29/2020
5.2.0 652 9/24/2020
5.1.2 569 9/22/2020
5.1.1 585 9/10/2020
5.1.0 555 9/8/2020
5.0.1 641 8/29/2020
5.0.0 588 8/25/2020
4.3.0 666 8/11/2020
4.2.0 573 8/4/2020
4.1.1 618 7/30/2020
4.1.0 608 7/30/2020
4.0.0 2,815 7/7/2020
3.6.0 5,303 6/30/2020
3.5.0 3,252 6/5/2020
3.4.1 3,242 6/3/2020
3.4.0 5,641 2/4/2020
3.3.0 4,449 1/13/2020
3.2.1 4,724 12/31/2019
3.2.0 5,401 12/31/2019
3.1.0 5,634 12/29/2019
3.0.0 3,357 12/21/2019
2.9.0 795 11/26/2019
2.8.0 703 11/23/2019
2.7.1 663 11/20/2019
2.7.0 696 11/18/2019
2.6.0 673 11/16/2019
2.5.2 637 11/12/2019
2.5.1 711 11/10/2019
2.5.0 678 11/8/2019
2.4.0 669 11/1/2019
2.3.0 698 10/26/2019
2.2.0 674 10/20/2019
2.1.0 708 10/11/2019
2.0.0 667 10/11/2019
1.2.0 726 5/30/2019
1.1.1 748 4/11/2019
1.1.0 788 4/5/2019
1.0.1 754 3/15/2019
1.0.0 802 3/9/2019
0.9.4 799 2/22/2019
0.9.3 835 2/20/2019
0.9.2 867 2/20/2019
0.9.1 844 2/16/2019
0.9.0 826 2/12/2019
0.8.5 832 2/11/2019
0.8.4 817 2/8/2019
0.8.3 819 2/7/2019
0.8.2 816 2/5/2019
0.8.1 805 2/5/2019
0.8.0 866 1/22/2019
0.7.1510 1,066 8/16/2018