MetaFac.CG4.CLI 3.2.6

dotnet tool install --global MetaFac.CG4.CLI --version 3.2.6
                    
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest
                    
if you are setting up this repo
dotnet tool install --local MetaFac.CG4.CLI --version 3.2.6
                    
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=MetaFac.CG4.CLI&version=3.2.6
                    
nuke :add-package MetaFac.CG4.CLI --version 3.2.6
                    

CG4

Build-Deploy

Define your models in C# code using CG4.Schemas, then run the CLI tool to generate source.

CLI

A Dotnet tool for:

  • extracting metadata from assemblies
  • reading/writing metadada to JSON files
  • generating code from metadata
  • creating generators from templates
  • creating templates from generators

Schemas

Attributes for defining data model objects (schemas) in code.

  • Allows defintion of entities, members, and proxy types.

Models

Helpers to write and read CG4 metadata to/from JSON, and from attributed code.

Generators

C# code generators that use metadata to create POCOs for:

  • freezable classes
  • immutable records
  • polymorphic NewtonSoft.Json DTOs
  • polymorphic System.Text.Json DTOs (.NET 7+)
  • freezable, polymorphic MessagePack DTOs
  • common contracts (interfaces) for all the above.

Runtimes

Runtime support for generated DTOs.

Templates

Testable templates for above generators.

TextProcessing

Bi-directional text processor to convert templates to generators (and back).

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

Version Downloads Last updated
3.2.6 168 3/11/2025
3.2.5 172 3/11/2025
3.2.4 123 2/1/2025
3.2.2 107 12/30/2024
3.2.1 97 12/23/2024
3.1.4 112 12/16/2024
3.1.3 97 12/16/2024
3.1.2-dev 83 12/16/2024
2.10.2 108 11/18/2024
2.9.19 98 11/18/2024
2.9.17 101 11/5/2024
2.9.13 94 11/5/2024
2.9.12 105 9/28/2024
2.9.11 134 8/30/2024
2.9.10 132 8/25/2024
2.9.9 123 8/14/2024
2.9.8 143 8/13/2024
2.9.7-beta 116 8/13/2024
2.8.3 120 7/12/2024
2.8.2 109 7/10/2024
2.7.15 113 6/12/2024
2.7.14 676 5/5/2024
2.7.13 298 3/21/2024
2.7.12 415 3/11/2024
2.7.11 936 2/10/2024
2.7.10 174 2/10/2024
2.7.9 1,128 1/3/2024
2.7.8 187 1/3/2024
2.7.7 223 1/3/2024
2.7.3 1,318 11/18/2023
2.7.2-beta 155 11/18/2023
2.6.8 474 11/5/2023
2.6.7 172 11/5/2023
2.6.6 211 11/4/2023
2.6.4 218 11/3/2023
2.6.2 232 11/1/2023
2.5.2 464 10/21/2023
2.4.6 226 10/21/2023
2.4.3 304 10/18/2023
2.4.2 202 10/17/2023
2.3.3 590 10/2/2023
2.2.13 249 9/25/2023
2.2.8 231 9/24/2023
2.1.17 204 9/23/2023
2.1.13 216 9/10/2023
2.1.10 231 8/29/2023
2.1.8 232 8/28/2023
2.1.7 235 8/26/2023
2.1.4 254 8/25/2023
2.1.3 232 8/24/2023
2.0.2 164 7/16/2023
2.0.1-beta 228 7/16/2023
1.4.13 170 7/16/2023
1.4.10 177 7/9/2023
1.4.6 159 7/8/2023
1.4.5 151 7/8/2023
1.4.4-beta 177 7/7/2023
1.2.26 165 7/3/2023
1.2.25 158 7/3/2023
1.2.22 155 6/21/2023
1.2.19 146 6/20/2023
1.2.18 156 6/18/2023
1.2.17 144 6/18/2023
1.2.5-dev 215 6/9/2023
1.2.3-dev 192 6/7/2023
1.1.6 141 6/5/2023
1.1.5 146 6/4/2023
1.1.4 120 6/4/2023
1.1.3 130 6/2/2023
1.1.2 126 6/2/2023
1.1.1 139 6/2/2023
1.0.3 167 6/2/2023
1.0.2 134 6/1/2023
0.1.73-dev 174 6/1/2023
0.1.69-dev 227 5/28/2023
0.1.68-dev 172 5/28/2023
0.1.62-dev 180 5/26/2023
0.1.58-dev 231 5/25/2023
0.1.57-dev 165 5/25/2023
0.1.52-dev 220 5/24/2023
0.1.50-dev 169 5/24/2023
0.1.49-dev 237 5/23/2023
0.1.48-dev 168 5/23/2023
0.1.47-dev 157 5/23/2023
0.1.38-dev 212 5/20/2023
0.1.37-dev 186 5/20/2023
0.1.25-dev 180 5/15/2023
0.1.24-dev 206 5/15/2023
0.1.14-dev 203 5/10/2023
0.1.2-dev 236 5/7/2023