CLI reference
Compile one component or recursively build and validate a mixed Beast source tree.
Terminaltext
beast compile <input.btsx> [options]beast <input.btsx> [output.tsrx] [options]beast build [source-directory] [options] [--watch]beast --helpTerminalshell
beast compile src/Card.btsx \ --output generated/Card.tsrx \ --component-name Card \ --props '{ title }: { title: string }'| Option | Description |
|---|---|
| -o, --output PATH | Write TSRX to a specific path |
| --component-name NAME | Override the generated component identifier |
| --props PARAMETER | Override the complete typed function parameter |
| --no-validate | Skip 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 option | Description | Default |
|---|---|---|
| source-directory | Root recursively searched for .btsx and .tsrx | Current directory |
| --out-dir PATH | Mirrored destination for generated TSRX | <source-directory>/.beast |
| --no-validate | Skip validation of generated and native TSRX | Validation enabled |
| --watch | Rebuild after changes and recover after compile errors | Disabled |