Go to file
madpwnhammer 06a96bfdca Added: cs_obsolete changelog 2024-08-08 12:10:43 +03:00
.gitea/workflows Добавить .gitea/workflows/build_composer.yaml 2024-02-13 15:07:21 +03:00
src Added: cs_obsolete token 2024-07-31 17:01:07 +03:00
tpl Added: cs_obsolete token 2024-07-31 17:01:07 +03:00
.gitignore Minor tweaks 2022-12-07 17:19:24 +03:00
CHANGELOG.md Added: cs_obsolete changelog 2024-08-08 12:10:43 +03:00
README.md Обновить README.md 2024-03-27 12:20:29 +03:00
composer.json Bumping deps 2023-08-16 14:36:12 +03:00

README.md

This package is used for code generation of C# meta structs using Twig templates

Usage example:

$code = \metagen_cs\codegen(null, get_meta(), 
[
  'namespace' => 'BitGames.Autogen'
]);
file_put_contents('bundle.cs', $code);