Go to file
Pavel Shevaev 5cca57b440 Обновить CHANGELOG.md 2024-12-18 18:41:45 +03:00
.gitea/workflows Добавить .gitea/workflows/build_composer.yaml 2024-02-13 15:07:21 +03:00
src Splitting codegen output to many files assumed to be stored under non VCS directory 2024-12-17 23:14:49 +03:00
tpl Splitting codegen output to many files assumed to be stored under non VCS directory 2024-12-17 23:14:49 +03:00
.gitignore Minor tweaks 2022-12-07 17:19:24 +03:00
CHANGELOG.md Обновить CHANGELOG.md 2024-12-18 18:41:45 +03:00
README.md Обновить README.md 2024-12-18 18:38:43 +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:

$output = \metagen_cs\codegen(null, get_meta(), 
[
  'namespace' => 'BitGames.Autogen'
]);
foreach($output as $name => $text)
  file_put_contents($name, $text);