BrewKit has command-line-interface for running build, manipulate cache and config.
You can learn more about each command by running command with -h flag
Manipulates builds
| Command | Description |
|---|---|
| Runs specified target | |
| definition | Print full parsed and verified build-definition in JSON to stdout |
| definition-debug | Print compiled build definition in raw JSON, useful for debugging complex build definitions |
Examples:
Build concrete targets
brewkit build generate compileManipulate host config
| Command | Description |
|---|---|
| init | Create default brewkit config |
Print BrewKit version
brewkit versionManipulate buildkit cache
| Command | Description |
|---|---|
| clear | Clear docker builder cache |
| clear -a | Clear all cache, not just dangling ones |
Pretty format jsonnet files with jsonnetfmt
brewkit fmt brewkit.jsonnet