| Flag | Description |
|---|---|
-V, --version | Print the version number |
-h, --help | Display help for a command |
init
Create a starter.tuireel.jsonc config file with JSON Schema support.
| Flag | Description | Default |
|---|---|---|
-o, --output <path> | Output config file path | .tuireel.jsonc |
-f, --force | Overwrite an existing config file | false |
init prompts you to select a preset:
validate
Validate a config file against the Tuireel schema. Reports errors with line and column numbers.| Argument | Description | Default |
|---|---|---|
configPath | Path to the config file | .tuireel.jsonc |
0 on success, 1 on validation failure.
Examples:
record
Record a TUI session to video. Spawns a PTY, executes all steps, captures frames, and encodes the output.| Argument | Description | Default |
|---|---|---|
configPath | Path to the config file | .tuireel.jsonc |
| Flag | Description |
|---|---|
--format <format> | Override output format (mp4, webm, gif) |
-w, --watch | Watch config file and re-record on changes |
--verbose | Show step-by-step progress and recording stats |
--debug | Show ffmpeg commands and internal timing details |
--format or config format), Tuireel normalizes the output filename extension to match the selected format:
- If the output path has no extension, it appends
.<format>. - If the output path already has an extension, it replaces the last extension with
.<format>.
output: smoke-output.mp4, then tuireel record --format webm writes smoke-output.webm.
When using a multi-video config, all videos are recorded sequentially with progress indicators.
Examples:
preview
Run the scripted steps in a visible terminal without recording video. Useful for testing and debugging your step sequence before committing to a full recording.| Argument | Description | Default |
|---|---|---|
config | Path to the config file | .tuireel.jsonc |
| Flag | Description |
|---|---|
--verbose | Show step-by-step progress and stats |
--debug | Show internal timing details |
composite
Re-composite overlays (cursor, HUD, sound) onto an existing raw recording without re-recording the terminal session. Requires a priortuireel record run (uses raw video and timeline data from .tuireel/).
| Argument | Description | Default |
|---|---|---|
configPath | Path to the config file | .tuireel.jsonc |
| Flag | Description |
|---|---|
-c, --config <path> | Config file path (overrides positional argument) |
--format <format> | Override output format (mp4, webm, gif) |
--cursor-size <n> | Cursor size in pixels |
--no-cursor | Disable cursor overlay |
--no-hud | Disable keystroke HUD overlay |
--verbose | Show step-by-step progress and stats |
--debug | Show ffmpeg commands and internal timing |
record, selecting a format (via --format or config format) normalizes the composited output filename extension to match the selected format.
Examples: