mix raxol. record
(Raxol v2.6.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.castOptions
--module/-m- Module to record (required). Must implementRaxol.Core.Runtime.Application.-o/--output- Output file path (default: derived from module name).--title- Recording title (default: module name).--width/--height- Force the cast dimensions instead of detecting the terminal size, e.g.--width 80 --height 24for a fixed 80x24 cast.--idle-time-limit- Cap idle gaps between events (seconds).
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.