Have an idea of data model and needs to generate some code for that idea?
Here you will find some utilities to mix a data source with some templates and get generated files.
I started with a UI tool that read a scheme from a database and merge with some files having an special format (mustache templates) getting code generated.
Now, you have some tools:
- Renewed UI Tool L2Data2Code made using AvaloniaUI that can read a data source (database, special JSON file or an .NET assembly) and merge with templates to get result. It replaces previous
L2Data2CodeWPF
. - Command line tool HandleBarsCLI (based on HandleBars), to execute a transformation using a JSON file for every path and file on a directory tree.
- Scheme2Json, a command line tool to generate a special JSON file from an database scheme. L2Data2CodeWPF understand this special JSON file as a data source.