Tooling

CLI reference

Compile one component or recursively build and validate a mixed Beast source tree.

source
Terminaltext
beast compile <input.btsx> [options]beast <input.btsx> [output.tsrx] [options]beast build [source-directory] [options] [--watch]beast --help
Terminalshell
beast compile src/Card.btsx \  --output generated/Card.tsrx \  --component-name Card \  --props '{ title }: { title: string }'
OptionDescription
-o, --output PATHWrite TSRX to a specific path
--component-name NAMEOverride the generated component identifier
--props PARAMETEROverride the complete typed function parameter
--no-validateSkip Octane validation

The builder mirrors source paths, validates generated and native TSRX, and writes a deterministic beast-manifest.json.

Terminalshell
beast build ./src --out-dir ./.beast
Argument or optionDescriptionDefault
source-directoryRoot recursively searched for .btsx and .tsrxCurrent directory
--out-dir PATHMirrored destination for generated TSRX<source-directory>/.beast
--no-validateSkip validation of generated and native TSRXValidation enabled
--watchRebuild after changes and recover after compile errorsDisabled