KY.Generator.CLI 8.8.2

There is a newer version of this package available.
See the version list below for details.
dotnet add package KY.Generator.CLI --version 8.8.2                
NuGet\Install-Package KY.Generator.CLI -Version 8.8.2                
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.2" />                
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.2                
#r "nuget: KY.Generator.CLI, 8.8.2"                
#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.2

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

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 255 2/16/2024
8.8.5 183 2/16/2024
8.8.4 182 2/13/2024
8.8.3 181 2/10/2024
8.8.2 175 2/9/2024
8.8.1 264 12/8/2023
8.8.0 185 12/3/2023
8.7.0 272 10/18/2023
8.6.0 242 4/17/2023
8.5.0 339 11/21/2022
8.4.4 423 8/27/2022
8.4.3 403 8/16/2022
8.4.2 415 7/22/2022
8.4.1 399 7/22/2022
8.4.0 437 7/22/2022
8.3.0 452 5/18/2022
8.2.0 352 12/17/2021
8.1.0 272 12/12/2021
8.0.0 360 10/12/2021
7.6.0 302 12/12/2021
7.5.0 393 8/10/2021
7.4.0 472 7/31/2021
7.3.1 402 7/29/2021
7.3.0 452 7/29/2021
7.2.0 382 7/26/2021
7.1.0 446 7/18/2021
7.0.0 410 7/13/2021
6.7.4 351 5/25/2021
6.7.3 372 5/21/2021
6.7.2 382 5/20/2021
6.7.1 362 5/18/2021
6.7.0 367 5/11/2021
6.6.6 454 5/1/2021
6.6.5 366 5/1/2021
6.6.4 372 4/7/2021
6.6.3 371 4/2/2021
6.6.2 375 3/5/2021
6.6.1 384 3/4/2021
6.6.0 443 2/9/2021
6.5.0 400 2/2/2021
6.4.0 412 1/22/2021
6.3.0 415 1/11/2021
6.2.2 432 1/8/2021
6.2.1 367 1/4/2021
6.2.0 482 12/18/2020
6.1.0 419 12/16/2020
6.0.0 429 12/14/2020
5.6.1 455 12/7/2020
5.6.0 473 11/27/2020
5.5.3 581 11/21/2020
5.5.2 465 11/17/2020
5.5.1 419 11/16/2020
5.5.0 534 11/14/2020
5.4.0 489 11/9/2020
5.3.0 463 9/29/2020
5.2.0 544 9/24/2020
5.1.2 463 9/22/2020
5.1.1 481 9/10/2020
5.1.0 449 9/8/2020
5.0.1 538 8/29/2020
5.0.0 486 8/25/2020
4.3.0 567 8/11/2020
4.2.0 473 8/4/2020
4.1.1 518 7/30/2020
4.1.0 507 7/30/2020
4.0.0 2,722 7/7/2020
3.6.0 4,786 6/30/2020
3.5.0 3,156 6/5/2020
3.4.1 3,146 6/3/2020
3.4.0 5,010 2/4/2020
3.3.0 4,346 1/13/2020
3.2.1 4,622 12/31/2019
3.2.0 4,821 12/31/2019
3.1.0 5,079 12/29/2019
3.0.0 3,247 12/21/2019
2.9.0 682 11/26/2019
2.8.0 596 11/23/2019
2.7.1 550 11/20/2019
2.7.0 582 11/18/2019
2.6.0 565 11/16/2019
2.5.2 518 11/12/2019
2.5.1 589 11/10/2019
2.5.0 566 11/8/2019
2.4.0 553 11/1/2019
2.3.0 585 10/26/2019
2.2.0 562 10/20/2019
2.1.0 597 10/11/2019
2.0.0 556 10/11/2019
1.2.0 616 5/30/2019
1.1.1 630 4/11/2019
1.1.0 671 4/5/2019
1.0.1 636 3/15/2019
1.0.0 687 3/9/2019
0.9.4 675 2/22/2019
0.9.3 714 2/20/2019
0.9.2 739 2/20/2019
0.9.1 723 2/16/2019
0.9.0 715 2/12/2019
0.8.5 711 2/11/2019
0.8.4 705 2/8/2019
0.8.3 704 2/7/2019
0.8.2 702 2/5/2019
0.8.1 693 2/5/2019
0.8.0 745 1/22/2019
0.7.1510 927 8/16/2018