Skip to content

Latest commit

 

History

History
55 lines (37 loc) · 1.4 KB

File metadata and controls

55 lines (37 loc) · 1.4 KB

CLI

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

build

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 compile

config

Manipulate host config

Command Description
init Create default brewkit config

version

Print BrewKit version

brewkit version

cache

Manipulate buildkit cache

Command Description
clear Clear docker builder cache
clear -a Clear all cache, not just dangling ones

fmt

Pretty format jsonnet files with jsonnetfmt

brewkit fmt brewkit.jsonnet