KY.Generator.CLI 8.5.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.5.0
                    
NuGet\Install-Package KY.Generator.CLI -Version 8.5.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.5.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.5.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.5.0
                    
#r "nuget: KY.Generator.CLI, 8.5.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.5.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.5.0
                    
Install as a Cake Addin
#tool nuget:?package=KY.Generator.CLI&version=8.5.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 510 7/23/2025
9.0.0 102 8/1/2025
8.8.6 335 2/16/2024
8.8.5 250 2/16/2024
8.8.4 253 2/13/2024
8.8.3 247 2/10/2024
8.8.2 245 2/9/2024
8.8.1 321 12/8/2023
8.8.0 227 12/3/2023
8.7.0 325 10/18/2023
8.6.0 316 4/17/2023
8.5.0 421 11/21/2022
8.4.4 504 8/27/2022
8.4.3 493 8/16/2022
8.4.2 501 7/22/2022
8.4.1 486 7/22/2022
8.4.0 519 7/22/2022
8.3.0 543 5/18/2022
8.2.0 447 12/17/2021
8.1.0 374 12/12/2021
8.0.0 464 10/12/2021
7.6.0 401 12/12/2021
7.5.0 491 8/10/2021
7.4.0 577 7/31/2021
7.3.1 507 7/29/2021
7.3.0 547 7/29/2021
7.2.0 476 7/26/2021
7.1.0 549 7/18/2021
7.0.0 508 7/13/2021
6.7.4 448 5/25/2021
6.7.3 471 5/21/2021
6.7.2 483 5/20/2021
6.7.1 460 5/18/2021
6.7.0 462 5/11/2021
6.6.6 556 5/1/2021
6.6.5 470 5/1/2021
6.6.4 473 4/7/2021
6.6.3 478 4/2/2021
6.6.2 494 3/5/2021
6.6.1 490 3/4/2021
6.6.0 561 2/9/2021
6.5.0 507 2/2/2021
6.4.0 521 1/22/2021
6.3.0 534 1/11/2021
6.2.2 547 1/8/2021
6.2.1 474 1/4/2021
6.2.0 594 12/18/2020
6.1.0 529 12/16/2020
6.0.0 539 12/14/2020
5.6.1 568 12/7/2020
5.6.0 588 11/27/2020
5.5.3 690 11/21/2020
5.5.2 579 11/17/2020
5.5.1 531 11/16/2020
5.5.0 648 11/14/2020
5.4.0 604 11/9/2020
5.3.0 575 9/29/2020
5.2.0 662 9/24/2020
5.1.2 580 9/22/2020
5.1.1 595 9/10/2020
5.1.0 567 9/8/2020
5.0.1 652 8/29/2020
5.0.0 598 8/25/2020
4.3.0 676 8/11/2020
4.2.0 584 8/4/2020
4.1.1 628 7/30/2020
4.1.0 618 7/30/2020
4.0.0 2,815 7/7/2020
3.6.0 5,303 6/30/2020
3.5.0 3,254 6/5/2020
3.4.1 3,243 6/3/2020
3.4.0 5,641 2/4/2020
3.3.0 4,449 1/13/2020
3.2.1 4,725 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 806 11/26/2019
2.8.0 713 11/23/2019
2.7.1 673 11/20/2019
2.7.0 706 11/18/2019
2.6.0 683 11/16/2019
2.5.2 648 11/12/2019
2.5.1 721 11/10/2019
2.5.0 690 11/8/2019
2.4.0 680 11/1/2019
2.3.0 710 10/26/2019
2.2.0 685 10/20/2019
2.1.0 719 10/11/2019
2.0.0 678 10/11/2019
1.2.0 738 5/30/2019
1.1.1 761 4/11/2019
1.1.0 801 4/5/2019
1.0.1 766 3/15/2019
1.0.0 815 3/9/2019
0.9.4 814 2/22/2019
0.9.3 850 2/20/2019
0.9.2 881 2/20/2019
0.9.1 857 2/16/2019
0.9.0 840 2/12/2019
0.8.5 846 2/11/2019
0.8.4 831 2/8/2019
0.8.3 833 2/7/2019
0.8.2 830 2/5/2019
0.8.1 819 2/5/2019
0.8.0 881 1/22/2019
0.7.1510 1,084 8/16/2018