Skip to main content
Tuireel provides a command-line interface for initializing configs, validating them, recording sessions, previewing steps, and re-compositing recordings.
Global options:

init

Create a starter .tuireel.jsonc config file with JSON Schema support.
In TTY mode, init prompts you to select a preset:
In non-interactive mode (piped input), the preset prompt is skipped. Examples:

validate

Validate a config file against the Tuireel schema. Reports errors with line and column numbers.
Exits with code 0 on success, 1 on validation failure. Examples:
Output on success:
Output on failure:

record

Record a TUI session to video. Spawns a PTY, executes all steps, captures frames, and encodes the output.
When a format is selected (via --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>.
Example: if your config sets 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.
Examples:

composite

Re-composite overlays (cursor, HUD, sound) onto an existing raw recording without re-recording the terminal session. Requires a prior tuireel record run (uses raw video and timeline data from .tuireel/).
Like record, selecting a format (via --format or config format) normalizes the composited output filename extension to match the selected format. Examples: