Go to file
Pavel Shevaev 2c03071ba6 Merge branch 'fix' 2023-04-13 20:22:25 +03:00
src Adding @cs_accessor_interface as a supported token 2023-03-23 14:01:24 +03:00
tpl Adding initial support for @cs_accessor_interface 2023-03-22 19:27:39 +03:00
.gitignore Minor tweaks 2022-12-07 17:19:24 +03:00
README.md Adding basice README 2022-12-07 17:25:44 +03:00
composer.json Experimenting with composer deps 2022-12-14 16:34:14 +03:00

README.md

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

Usage example:

$twig = \metagen_cs\get_twig();
file_put_contents('bundle.cs', 
  $twig->render("codegen_bundle.twig", 
    [
     'namespace' => 'BitGames.Autogen',
     'meta' => get_meta()
    ]
  )
);