MetaFac.CG4.CLI
2.10.2
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet tool install --global MetaFac.CG4.CLI --version 2.10.2
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 2.10.2
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=MetaFac.CG4.CLI&version=2.10.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
nuke :add-package MetaFac.CG4.CLI --version 2.10.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
CG4
Define your models in C# code using FluentModels. https://github.com/metafac-net/FluentModelsV1
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
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 | net9.0 is compatible. 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. net10.0 was computed. 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.0.2 | 196 | 6/26/2025 |
| 3.2.8 | 348 | 6/11/2025 |
| 3.2.6 | 254 | 3/11/2025 |
| 3.2.5 | 226 | 3/11/2025 |
| 3.2.4 | 175 | 2/1/2025 |
| 3.2.2 | 155 | 12/30/2024 |
| 3.2.1 | 147 | 12/23/2024 |
| 3.1.4 | 165 | 12/16/2024 |
| 3.1.3 | 195 | 12/16/2024 |
| 3.1.2-dev | 142 | 12/16/2024 |
| 2.10.2 | 156 | 11/18/2024 |
| 2.9.19 | 160 | 11/18/2024 |
| 2.9.17 | 157 | 11/5/2024 |
| 2.9.13 | 153 | 11/5/2024 |
| 2.9.12 | 163 | 9/28/2024 |
| 2.9.11 | 199 | 8/30/2024 |
| 2.9.10 | 205 | 8/25/2024 |
| 2.9.9 | 183 | 8/14/2024 |
| 2.9.8 | 202 | 8/13/2024 |
| 2.9.7-beta | 187 | 8/13/2024 |
| 2.8.3 | 180 | 7/12/2024 |
| 2.8.2 | 186 | 7/10/2024 |
| 2.7.15 | 176 | 6/12/2024 |
| 2.7.14 | 732 | 5/5/2024 |
| 2.7.13 | 366 | 3/21/2024 |
| 2.7.12 | 475 | 3/11/2024 |
| 2.7.11 | 1,011 | 2/10/2024 |
| 2.7.10 | 246 | 2/10/2024 |
| 2.7.9 | 1,186 | 1/3/2024 |
| 2.7.8 | 273 | 1/3/2024 |
| 2.7.7 | 283 | 1/3/2024 |
| 2.7.3 | 1,364 | 11/18/2023 |
| 2.7.2-beta | 222 | 11/18/2023 |
| 2.6.8 | 508 | 11/5/2023 |
| 2.6.7 | 229 | 11/5/2023 |
| 2.6.6 | 259 | 11/4/2023 |
| 2.6.4 | 242 | 11/3/2023 |
| 2.6.2 | 279 | 11/1/2023 |
| 2.5.2 | 512 | 10/21/2023 |
| 2.4.6 | 272 | 10/21/2023 |
| 2.4.3 | 344 | 10/18/2023 |
| 2.4.2 | 240 | 10/17/2023 |
| 2.3.3 | 641 | 10/2/2023 |
| 2.2.13 | 285 | 9/25/2023 |
| 2.2.8 | 279 | 9/24/2023 |
| 2.1.17 | 249 | 9/23/2023 |
| 2.1.13 | 274 | 9/10/2023 |
| 2.1.10 | 324 | 8/29/2023 |
| 2.1.8 | 283 | 8/28/2023 |
| 2.1.7 | 304 | 8/26/2023 |
| 2.1.4 | 322 | 8/25/2023 |
| 2.1.3 | 289 | 8/24/2023 |
| 2.0.2 | 265 | 7/16/2023 |
| 2.0.1-beta | 304 | 7/16/2023 |
| 1.4.13 | 254 | 7/16/2023 |
| 1.4.10 | 241 | 7/9/2023 |
| 1.4.6 | 233 | 7/8/2023 |
| 1.4.5 | 226 | 7/8/2023 |
| 1.4.4-beta | 242 | 7/7/2023 |
| 1.2.26 | 236 | 7/3/2023 |
| 1.2.25 | 234 | 7/3/2023 |
| 1.2.22 | 258 | 6/21/2023 |
| 1.2.19 | 247 | 6/20/2023 |
| 1.2.18 | 230 | 6/18/2023 |
| 1.2.17 | 219 | 6/18/2023 |
| 1.2.5-dev | 323 | 6/9/2023 |
| 1.2.3-dev | 295 | 6/7/2023 |
| 1.1.6 | 219 | 6/5/2023 |
| 1.1.5 | 249 | 6/4/2023 |
| 1.1.4 | 222 | 6/4/2023 |
| 1.1.3 | 211 | 6/2/2023 |
| 1.1.2 | 198 | 6/2/2023 |
| 1.1.1 | 238 | 6/2/2023 |
| 1.0.3 | 225 | 6/2/2023 |
| 1.0.2 | 219 | 6/1/2023 |
| 0.1.73-dev | 273 | 6/1/2023 |
| 0.1.69-dev | 297 | 5/28/2023 |
| 0.1.68-dev | 253 | 5/28/2023 |
| 0.1.62-dev | 268 | 5/26/2023 |
| 0.1.58-dev | 316 | 5/25/2023 |
| 0.1.57-dev | 248 | 5/25/2023 |
| 0.1.52-dev | 302 | 5/24/2023 |
| 0.1.50-dev | 279 | 5/24/2023 |
| 0.1.49-dev | 321 | 5/23/2023 |
| 0.1.48-dev | 240 | 5/23/2023 |
| 0.1.47-dev | 266 | 5/23/2023 |
| 0.1.38-dev | 286 | 5/20/2023 |
| 0.1.37-dev | 274 | 5/20/2023 |
| 0.1.25-dev | 262 | 5/15/2023 |
| 0.1.24-dev | 324 | 5/15/2023 |
| 0.1.14-dev | 286 | 5/10/2023 |
| 0.1.2-dev | 320 | 5/7/2023 |