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 181 2/16/2024
8.8.5 133 2/16/2024
8.8.4 135 2/13/2024
8.8.3 132 2/10/2024
8.8.2 145 2/9/2024
8.8.1 222 12/8/2023
8.8.0 156 12/3/2023
8.7.0 226 10/18/2023
8.6.0 216 4/17/2023
8.5.0 318 11/21/2022
8.4.4 398 8/27/2022
8.4.3 392 8/16/2022
8.4.2 405 7/22/2022
8.4.1 372 7/22/2022
8.4.0 409 7/22/2022
8.3.0 424 5/18/2022
8.2.0 329 12/17/2021
8.1.0 264 12/12/2021
8.0.0 349 10/12/2021
7.6.0 277 12/12/2021
7.5.0 364 8/10/2021
7.4.0 462 7/31/2021
7.3.1 373 7/29/2021
7.3.0 418 7/29/2021
7.2.0 370 7/26/2021
7.1.0 416 7/18/2021
7.0.0 380 7/13/2021
6.7.4 315 5/25/2021
6.7.3 344 5/21/2021
6.7.2 353 5/20/2021
6.7.1 352 5/18/2021
6.7.0 342 5/11/2021
6.6.6 426 5/1/2021
6.6.5 337 5/1/2021
6.6.4 345 4/7/2021
6.6.3 344 4/2/2021
6.6.2 349 3/5/2021
6.6.1 363 3/4/2021
6.6.0 414 2/9/2021
6.5.0 371 2/2/2021
6.4.0 387 1/22/2021
6.3.0 387 1/11/2021
6.2.2 404 1/8/2021
6.2.1 338 1/4/2021
6.2.0 454 12/18/2020
6.1.0 390 12/16/2020
6.0.0 402 12/14/2020
5.6.1 429 12/7/2020
5.6.0 438 11/27/2020
5.5.3 555 11/21/2020
5.5.2 444 11/17/2020
5.5.1 396 11/16/2020
5.5.0 507 11/14/2020
5.4.0 457 11/9/2020
5.3.0 433 9/29/2020
5.2.0 515 9/24/2020
5.1.2 435 9/22/2020
5.1.1 454 9/10/2020
5.1.0 424 9/8/2020
5.0.1 518 8/29/2020
5.0.0 461 8/25/2020
4.3.0 528 8/11/2020
4.2.0 446 8/4/2020
4.1.1 491 7/30/2020
4.1.0 459 7/30/2020
4.0.0 2,699 7/7/2020
3.6.0 4,279 6/30/2020
3.5.0 3,111 6/5/2020
3.4.1 3,118 6/3/2020
3.4.0 4,444 2/4/2020
3.3.0 4,136 1/13/2020
3.2.1 4,346 12/31/2019
3.2.0 4,361 12/31/2019
3.1.0 4,489 12/29/2019
3.0.0 3,222 12/21/2019
2.9.0 654 11/26/2019
2.8.0 568 11/23/2019
2.7.1 526 11/20/2019
2.7.0 538 11/18/2019
2.6.0 541 11/16/2019
2.5.2 498 11/12/2019
2.5.1 563 11/10/2019
2.5.0 538 11/8/2019
2.4.0 516 11/1/2019
2.3.0 549 10/26/2019
2.2.0 540 10/20/2019
2.1.0 571 10/11/2019
2.0.0 528 10/11/2019
1.2.0 593 5/30/2019
1.1.1 602 4/11/2019
1.1.0 640 4/5/2019
1.0.1 606 3/15/2019
1.0.0 666 3/9/2019
0.9.4 649 2/22/2019
0.9.3 690 2/20/2019
0.9.2 716 2/20/2019
0.9.1 689 2/16/2019
0.9.0 687 2/12/2019
0.8.5 685 2/11/2019
0.8.4 678 2/8/2019
0.8.3 679 2/7/2019
0.8.2 675 2/5/2019
0.8.1 668 2/5/2019
0.8.0 721 1/22/2019
0.7.1510 897 8/16/2018