KY.Generator.CLI 8.8.5

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.5                
NuGet\Install-Package KY.Generator.CLI -Version 8.8.5                
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.5" />                
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.5                
#r "nuget: KY.Generator.CLI, 8.8.5"                
#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.5

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

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 229 2/16/2024
8.8.5 181 2/16/2024
8.8.4 178 2/13/2024
8.8.3 176 2/10/2024
8.8.2 170 2/9/2024
8.8.1 260 12/8/2023
8.8.0 181 12/3/2023
8.7.0 269 10/18/2023
8.6.0 240 4/17/2023
8.5.0 337 11/21/2022
8.4.4 419 8/27/2022
8.4.3 399 8/16/2022
8.4.2 413 7/22/2022
8.4.1 396 7/22/2022
8.4.0 434 7/22/2022
8.3.0 450 5/18/2022
8.2.0 349 12/17/2021
8.1.0 269 12/12/2021
8.0.0 356 10/12/2021
7.6.0 300 12/12/2021
7.5.0 391 8/10/2021
7.4.0 469 7/31/2021
7.3.1 400 7/29/2021
7.3.0 450 7/29/2021
7.2.0 378 7/26/2021
7.1.0 442 7/18/2021
7.0.0 406 7/13/2021
6.7.4 349 5/25/2021
6.7.3 367 5/21/2021
6.7.2 377 5/20/2021
6.7.1 360 5/18/2021
6.7.0 363 5/11/2021
6.6.6 451 5/1/2021
6.6.5 364 5/1/2021
6.6.4 369 4/7/2021
6.6.3 369 4/2/2021
6.6.2 371 3/5/2021
6.6.1 380 3/4/2021
6.6.0 439 2/9/2021
6.5.0 396 2/2/2021
6.4.0 409 1/22/2021
6.3.0 413 1/11/2021
6.2.2 429 1/8/2021
6.2.1 363 1/4/2021
6.2.0 480 12/18/2020
6.1.0 415 12/16/2020
6.0.0 425 12/14/2020
5.6.1 453 12/7/2020
5.6.0 464 11/27/2020
5.5.3 579 11/21/2020
5.5.2 463 11/17/2020
5.5.1 417 11/16/2020
5.5.0 532 11/14/2020
5.4.0 487 11/9/2020
5.3.0 461 9/29/2020
5.2.0 542 9/24/2020
5.1.2 460 9/22/2020
5.1.1 477 9/10/2020
5.1.0 447 9/8/2020
5.0.1 536 8/29/2020
5.0.0 484 8/25/2020
4.3.0 554 8/11/2020
4.2.0 471 8/4/2020
4.1.1 516 7/30/2020
4.1.0 505 7/30/2020
4.0.0 2,713 7/7/2020
3.6.0 4,546 6/30/2020
3.5.0 3,151 6/5/2020
3.4.1 3,140 6/3/2020
3.4.0 4,742 2/4/2020
3.3.0 4,337 1/13/2020
3.2.1 4,618 12/31/2019
3.2.0 4,588 12/31/2019
3.1.0 4,842 12/29/2019
3.0.0 3,243 12/21/2019
2.9.0 680 11/26/2019
2.8.0 591 11/23/2019
2.7.1 548 11/20/2019
2.7.0 578 11/18/2019
2.6.0 563 11/16/2019
2.5.2 516 11/12/2019
2.5.1 587 11/10/2019
2.5.0 562 11/8/2019
2.4.0 542 11/1/2019
2.3.0 579 10/26/2019
2.2.0 560 10/20/2019
2.1.0 594 10/11/2019
2.0.0 552 10/11/2019
1.2.0 611 5/30/2019
1.1.1 628 4/11/2019
1.1.0 669 4/5/2019
1.0.1 628 3/15/2019
1.0.0 685 3/9/2019
0.9.4 672 2/22/2019
0.9.3 712 2/20/2019
0.9.2 737 2/20/2019
0.9.1 718 2/16/2019
0.9.0 713 2/12/2019
0.8.5 707 2/11/2019
0.8.4 703 2/8/2019
0.8.3 700 2/7/2019
0.8.2 699 2/5/2019
0.8.1 690 2/5/2019
0.8.0 742 1/22/2019
0.7.1510 923 8/16/2018