asciinema-rec(1)

asciinema-rec(1) General Commands Manual asciinema-rec(1)

NAME

asciinema-rec - Record a terminal session

SYNOPSIS

asciinema rec [-f|--output-format] [-c|--command] [-I|--rec-input] [--rec-env] [-a|--append] [--overwrite] [-t|--title] [-i|--idle-time-limit] [--headless] [--window-size] [--server-url] [-q|--quiet] [-h|--help] <OUTPUT_PATH>

DESCRIPTION

Record a terminal session

OPTIONS

-f, --output-format=FORMAT
Output file format [default: asciicast-v3]

[possible values: asciicast-v3, asciicast-v2, raw, txt]

-c, --command=COMMAND
Command to start in the session [default: $SHELL]
-I, --rec-input
Enable input (keys) recording
--rec-env=VARS
Comma-separated list of env vars to capture [default: SHELL]
-a, --append
Append to an existing recording file
--overwrite
Overwrite output file if it already exists
-t, --title=TITLE
Title of the recording
-i, --idle-time-limit=SECS
Limit idle time to a given number of seconds
--headless
Headless mode, i.e. don't use TTY for input/output
--window-size=COLSxROWS
Override terminal size for the session
--server-url=URL
asciinema server URL
-q, --quiet
Quiet mode, i.e. suppress diagnostic messages
-h, --help
Print help
<OUTPUT_PATH>
Output file path
rec