- can generate all-language code, eg:
python,vue,java,scala,goand more - generate code with powerful template(jinja2)
- template can contains control command, eg:
if,for,set variable - can easily run on other template repo.
1 . clone the repo
git clone https://github.com/wj-Mcat/code-generator
# or
pip install code-generator2 . run the example generation
./examples/generate.sh3 . [Optional] change the template to generate your own code
you can change the code in
examples/config,examples/plugins,examples/templates
you don't need to write any code to run
code-generator, only for configuration, templates, plugins
-
version 0.0.3
- enable template & output dir
- add default python github project with CI testing toolkit
-
version 0.0.2
- complete the basic interface:
templates,plugins,config - can run well for template code generator
- complete the basic interface:
-
version 0.0.1
- deploy the pypi package
- complete a simple code-generator
