KY.Generator.CLI 8.8.6

dotnet add package KY.Generator.CLI --version 8.8.6                
NuGet\Install-Package KY.Generator.CLI -Version 8.8.6                
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.8.6" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add KY.Generator.CLI --version 8.8.6                
#r "nuget: KY.Generator.CLI, 8.8.6"                
#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.
// Install KY.Generator.CLI as a Cake Addin
#addin nuget:?package=KY.Generator.CLI&version=8.8.6

// Install KY.Generator.CLI as a Cake Tool
#tool nuget:?package=KY.Generator.CLI&version=8.8.6                

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
8.8.6 272 2/16/2024
8.8.5 194 2/16/2024
8.8.4 195 2/13/2024
8.8.3 194 2/10/2024
8.8.2 188 2/9/2024
8.8.1 271 12/8/2023
8.8.0 192 12/3/2023
8.7.0 279 10/18/2023
8.6.0 249 4/17/2023
8.5.0 348 11/21/2022
8.4.4 433 8/27/2022
8.4.3 412 8/16/2022
8.4.2 424 7/22/2022
8.4.1 408 7/22/2022
8.4.0 446 7/22/2022
8.3.0 463 5/18/2022
8.2.0 361 12/17/2021
8.1.0 281 12/12/2021
8.0.0 369 10/12/2021
7.6.0 311 12/12/2021
7.5.0 402 8/10/2021
7.4.0 481 7/31/2021
7.3.1 411 7/29/2021
7.3.0 461 7/29/2021
7.2.0 391 7/26/2021
7.1.0 455 7/18/2021
7.0.0 419 7/13/2021
6.7.4 360 5/25/2021
6.7.3 381 5/21/2021
6.7.2 391 5/20/2021
6.7.1 371 5/18/2021
6.7.0 376 5/11/2021
6.6.6 463 5/1/2021
6.6.5 375 5/1/2021
6.6.4 381 4/7/2021
6.6.3 380 4/2/2021
6.6.2 384 3/5/2021
6.6.1 393 3/4/2021
6.6.0 452 2/9/2021
6.5.0 409 2/2/2021
6.4.0 422 1/22/2021
6.3.0 424 1/11/2021
6.2.2 441 1/8/2021
6.2.1 376 1/4/2021
6.2.0 491 12/18/2020
6.1.0 428 12/16/2020
6.0.0 438 12/14/2020
5.6.1 466 12/7/2020
5.6.0 482 11/27/2020
5.5.3 590 11/21/2020
5.5.2 476 11/17/2020
5.5.1 430 11/16/2020
5.5.0 545 11/14/2020
5.4.0 500 11/9/2020
5.3.0 474 9/29/2020
5.2.0 553 9/24/2020
5.1.2 472 9/22/2020
5.1.1 490 9/10/2020
5.1.0 460 9/8/2020
5.0.1 547 8/29/2020
5.0.0 496 8/25/2020
4.3.0 576 8/11/2020
4.2.0 482 8/4/2020
4.1.1 528 7/30/2020
4.1.0 518 7/30/2020
4.0.0 2,731 7/7/2020
3.6.0 5,101 6/30/2020
3.5.0 3,165 6/5/2020
3.4.1 3,155 6/3/2020
3.4.0 5,404 2/4/2020
3.3.0 4,356 1/13/2020
3.2.1 4,631 12/31/2019
3.2.0 5,190 12/31/2019
3.1.0 5,407 12/29/2019
3.0.0 3,256 12/21/2019
2.9.0 691 11/26/2019
2.8.0 605 11/23/2019
2.7.1 559 11/20/2019
2.7.0 591 11/18/2019
2.6.0 574 11/16/2019
2.5.2 527 11/12/2019
2.5.1 601 11/10/2019
2.5.0 575 11/8/2019
2.4.0 562 11/1/2019
2.3.0 594 10/26/2019
2.2.0 571 10/20/2019
2.1.0 608 10/11/2019
2.0.0 567 10/11/2019
1.2.0 625 5/30/2019
1.1.1 641 4/11/2019
1.1.0 681 4/5/2019
1.0.1 646 3/15/2019
1.0.0 698 3/9/2019
0.9.4 686 2/22/2019
0.9.3 724 2/20/2019
0.9.2 753 2/20/2019
0.9.1 733 2/16/2019
0.9.0 724 2/12/2019
0.8.5 721 2/11/2019
0.8.4 714 2/8/2019
0.8.3 713 2/7/2019
0.8.2 711 2/5/2019
0.8.1 702 2/5/2019
0.8.0 757 1/22/2019
0.7.1510 940 8/16/2018