mix raxol.record (Raxol v2.3.0)

View Source

Records a Raxol application session to an asciicast (.cast) file.

Usage

mix raxol.record --module Raxol.Demo.Dashboard -o demo.cast
mix raxol.record --module Raxol.Demo.Counter -o counter.cast
mix raxol.record --module Raxol.Demo.Counter   # writes to counter.cast

Options

  • --module / -m - Module to record (required). Must implement Raxol.Core.Runtime.Application.
  • -o / --output - Output file path (default: derived from module name).
  • --title - Recording title (default: module name).

The recording captures all terminal output with timestamps. When the app exits (e.g., pressing 'q'), the session is saved as an asciinema v2 .cast file compatible with asciinema play and https://asciinema.org.