KY.Generator.CLI 10.0.0-preview.15

This is a prerelease version of KY.Generator.CLI.
dotnet add package KY.Generator.CLI --version 10.0.0-preview.15
                    
NuGet\Install-Package KY.Generator.CLI -Version 10.0.0-preview.15
                    
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="10.0.0-preview.15" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="KY.Generator.CLI" Version="10.0.0-preview.15" />
                    
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 10.0.0-preview.15
                    
#r "nuget: KY.Generator.CLI, 10.0.0-preview.15"
                    
#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@10.0.0-preview.15
                    
#: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=10.0.0-preview.15&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=KY.Generator.CLI&version=10.0.0-preview.15&prerelease
                    
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 485 7/23/2025
9.0.0 72 8/1/2025
8.8.6 310 2/16/2024
8.8.5 224 2/16/2024
8.8.4 227 2/13/2024
8.8.3 222 2/10/2024
8.8.2 220 2/9/2024
8.8.1 296 12/8/2023
8.8.0 206 12/3/2023
8.7.0 304 10/18/2023
8.6.0 293 4/17/2023
8.5.0 398 11/21/2022
8.4.4 481 8/27/2022
8.4.3 468 8/16/2022
8.4.2 478 7/22/2022
8.4.1 463 7/22/2022
8.4.0 496 7/22/2022
8.3.0 520 5/18/2022
8.2.0 424 12/17/2021
8.1.0 351 12/12/2021
8.0.0 441 10/12/2021
7.6.0 377 12/12/2021
7.5.0 468 8/10/2021
7.4.0 553 7/31/2021
7.3.1 482 7/29/2021
7.3.0 523 7/29/2021
7.2.0 453 7/26/2021
7.1.0 526 7/18/2021
7.0.0 484 7/13/2021
6.7.4 426 5/25/2021
6.7.3 448 5/21/2021
6.7.2 459 5/20/2021
6.7.1 437 5/18/2021
6.7.0 438 5/11/2021
6.6.6 533 5/1/2021
6.6.5 447 5/1/2021
6.6.4 450 4/7/2021
6.6.3 455 4/2/2021
6.6.2 466 3/5/2021
6.6.1 466 3/4/2021
6.6.0 534 2/9/2021
6.5.0 482 2/2/2021
6.4.0 496 1/22/2021
6.3.0 507 1/11/2021
6.2.2 522 1/8/2021
6.2.1 449 1/4/2021
6.2.0 569 12/18/2020
6.1.0 503 12/16/2020
6.0.0 514 12/14/2020
5.6.1 543 12/7/2020
5.6.0 563 11/27/2020
5.5.3 665 11/21/2020
5.5.2 555 11/17/2020
5.5.1 506 11/16/2020
5.5.0 623 11/14/2020
5.4.0 579 11/9/2020
5.3.0 551 9/29/2020
5.2.0 638 9/24/2020
5.1.2 555 9/22/2020
5.1.1 571 9/10/2020
5.1.0 541 9/8/2020
5.0.1 627 8/29/2020
5.0.0 574 8/25/2020
4.3.0 652 8/11/2020
4.2.0 559 8/4/2020
4.1.1 604 7/30/2020
4.1.0 594 7/30/2020
4.0.0 2,808 7/7/2020
3.6.0 5,296 6/30/2020
3.5.0 3,245 6/5/2020
3.4.1 3,235 6/3/2020
3.4.0 5,634 2/4/2020
3.3.0 4,442 1/13/2020
3.2.1 4,717 12/31/2019
3.2.0 5,394 12/31/2019
3.1.0 5,627 12/29/2019
3.0.0 3,349 12/21/2019
2.9.0 781 11/26/2019
2.8.0 689 11/23/2019
2.7.1 649 11/20/2019
2.7.0 682 11/18/2019
2.6.0 659 11/16/2019
2.5.2 622 11/12/2019
2.5.1 697 11/10/2019
2.5.0 664 11/8/2019
2.4.0 655 11/1/2019
2.3.0 684 10/26/2019
2.2.0 660 10/20/2019
2.1.0 695 10/11/2019
2.0.0 653 10/11/2019
1.2.0 712 5/30/2019
1.1.1 734 4/11/2019
1.1.0 774 4/5/2019
1.0.1 740 3/15/2019
1.0.0 788 3/9/2019
0.9.4 784 2/22/2019
0.9.3 821 2/20/2019
0.9.2 853 2/20/2019
0.9.1 830 2/16/2019
0.9.0 812 2/12/2019
0.8.5 818 2/11/2019
0.8.4 803 2/8/2019
0.8.3 805 2/7/2019
0.8.2 803 2/5/2019
0.8.1 791 2/5/2019
0.8.0 852 1/22/2019
0.7.1510 1,052 8/16/2018