Обновить README.md
This commit is contained in:
parent
02a5871f89
commit
32bfa591d7
|
@ -2,9 +2,10 @@ This package is used for code generation of C# meta structs using Twig templates
|
|||
|
||||
Usage example:
|
||||
|
||||
$code = \metagen_cs\codegen(null, get_meta(),
|
||||
$output = \metagen_cs\codegen(null, get_meta(),
|
||||
[
|
||||
'namespace' => 'BitGames.Autogen'
|
||||
]);
|
||||
file_put_contents('bundle.cs', $code);
|
||||
foreach($output as $name => $text)
|
||||
file_put_contents($name, $text);
|
||||
|
||||
|
|
Loading…
Reference in New Issue