MetaFac.CG4.CLI
4.2.3
dotnet tool install --global MetaFac.CG4.CLI --version 4.2.3
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest
dotnet tool install --local MetaFac.CG4.CLI --version 4.2.3
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=MetaFac.CG4.CLI&version=4.2.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
nuke :add-package MetaFac.CG4.CLI --version 4.2.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
CG4
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 | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.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 |
|---|---|---|
| 4.2.3 | 109 | 8/23/2026 |
| 4.2.1 | 225 | 8/7/2026 |
| 4.1.6 | 120 | 7/27/2026 |
| 4.1.5 | 121 | 7/20/2026 |
| 4.1.3 | 118 | 7/11/2026 |
| 4.1.2 | 120 | 7/11/2026 |
| 4.1.1 | 141 | 5/28/2026 |
| 4.0.9 | 183 | 4/9/2026 |
| 4.0.8 | 157 | 4/8/2026 |
| 4.0.2 | 311 | 6/26/2025 |
| 3.2.8 | 450 | 6/11/2025 |
| 3.2.6 | 350 | 3/11/2025 |
| 3.2.5 | 299 | 3/11/2025 |
| 3.2.4 | 245 | 2/1/2025 |
| 3.2.2 | 236 | 12/30/2024 |
| 3.2.1 | 228 | 12/23/2024 |
| 3.1.4 | 234 | 12/16/2024 |
| 3.1.3 | 290 | 12/16/2024 |
| 3.1.2-dev | 189 | 12/16/2024 |
| 2.10.2 | 229 | 11/18/2024 |
Loading failed