Skip to content

compozy extension build

Build source into an immutable extension bundle

For people running agent work19 pages in this section

compozy extension build

Build source into an immutable extension bundle

compozy extension build [directory] [flags]

Options

      --build-command strings   Build command argv; repeat or use a comma-separated value
  -h, --help                    help for build
      --output-dir string       Generation root (default: <source>/dist)
      --timeout duration        Describe-mode timeout (default 1m0s)

Options inherited from parent commands

      --json            Emit JSON output
  -o, --output string   Output format: human, json, jsonl, or toon (default "human")

Output Formats

The root -o, --output flag accepts these values. A renderer is supported only when this command writes that result; jsonl is for commands that emit one JSON record per line.

FormatCommand result
humanInteractive terminal rendering
jsonMachine-readable JSON rendering
jsonlOne JSON record per line when supported
toonCompact agent-readable rendering

Example:

compozy extension build [directory] -o json

On this page