Adding basice README
This commit is contained in:
parent
374bd1dcf0
commit
65e10d83b4
|
@ -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()
|
||||
]
|
||||
)
|
||||
);
|
Loading…
Reference in New Issue