Scaffold/README.md

36 lines
515 B
Markdown

# Scaffold
## Build
```bash
./gradlew installShadowDist
cd app/build/install/app-shadow
```
Move the executable somewhere in your $PATH
## Usage
### Create a generator
```bash
scaffold new generator-name
cd generator-directory
```
You can then add [Pebble templates](https://pebbletemplates.io/) and files in the tree directory
An example is present in this repo
### List generators
```bash
scaffold list
```
### Generate a project
```bash
scaffold generate generator-name --output output-directory
```