asciinema-record(1) General Commands Manual asciinema-record(1) (NAME) asciinema-record - (SYNOPSIS) asciinema record [-f|--output-format] [-c|--command] [-I|--capture-input] [--capture-env] [-a|--append] [--overwrite] [-t|--title] [-i|--idle-time-limit] [--headless] [--window-size] [--return] [--log-file] [-q|--quiet] [-h|--help] (DESCRIPTION) . . . 'exit' . . ASCIINEMA_SESSION . (OPTIONS) -f, --output-format=FORMAT . asciicast-v3 . .txt txt --output-format . : o asciicast-v3: ( ) - https://docs.asciinema.org/manual/asciicast/v3 o asciicast-v2: ( ) - https://docs.asciinema.org/manual/asciicast/v2 o raw: o txt: -c, --command=COMMAND . asciinema $SHELL . : --command "python script.py" --command "bash -l". session.command . -I, --capture-input . . . session.capture_input . --capture-env=VARS . ( ) . : --rec-env "USER,SHELL,TERM". SHELL . session.capture_env . -a, --append . . . --overwrite . --overwrite . asciinema . --append . -t, --title=TITLE . . : --title "Installing Podman on Ubuntu". -i, --idle-time-limit=SECS . ( ) . --idle-time-limit 2.0 . () . . session.idle_time_limit . --headless (Headless) /. asciinema . asciinema . Headless . --window-size=COLSxROWS . COLSxROWS ( 80x24 ). (80x) (x24) . . --return asciinema . asciinema 0 . asciinema . --log-file=PATH () . . -q, --quiet . . -h, --help ( '-h') (EXTRA) : asciinema rec demo.cast asciinema rec --command "python script.py" demo.cast asciinema rec --idle-time-limit 2 demo.cast asciinema rec --capture-input --title "API Demo" demo.cast asciinema rec --append demo.cast asciinema rec demo.txt - .txt record asciinema-record(1)