bullet is a project boilerplate generator
cargo bullet --config=\ when we develop a project, we always write many boilerplate code, config and etc.
so to save your life time.
1. create a project template.
2. config the project with yaml or json or toml.
3. generate the project ./release/bulletwin0.1.exe -c release/buildexample.toml -t release/templates/springjava -o outputconfig file example: build.toml
toml
group = "example"
project = "test"
[ext]
my_content = "This is my content"
project structure example: templates/structure/structure.toml
text
project_structure = [
["{{ context.group }}.{{context.project }}", "hello.txt", "hello.txt.tmpl"]
]
project template example: templates/template/hello.txt.tmpl
text
hello {{ context.project }} {{ context.ext.my_content }}
generate the project
text
cargo bullet -c build.toml -t templates -o output
idea
supported templates
java spring