660 B
660 B
Scaffold
Build
./gradlew installShadowDist
cd app/build/install/app-shadow
Move the executable somewhere in your $PATH
Or build a native image with GraalVM
./gradlew buildNative
cd app/build/native
Usage
Create a generator
scaffold new generator-name
cd generator-directory
You can then add Pebble templates and files in the tree directory
An kotlin example is present here
List generators
scaffold list
Generate a project
scaffold generate generator-name --output output-directory