Adding basice README

This commit is contained in:
Pavel Shevaev 2022-12-07 17:25:44 +03:00
parent 374bd1dcf0
commit 65e10d83b4
1 changed files with 13 additions and 0 deletions

13
README.md Normal file
View File

@ -0,0 +1,13 @@
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()
]
)
);