Skip to main content
100%

Como editar ASCIINEMAS

✓ Published0🌍 Public
IIoTeacher
Last edited Sep 23, 2024
Created on Sep 23, 2024

This example shows how to record, edit, and merge terminal sessions with Asciinema. It demonstrates the gray-area tasks of cleaning up `.cast` files by deleting erroneous command outputs, inserting new commands manually, and combining two session recordings. The code uses Python’s `json` library to parse and write the `.cast` files, adjusting timestamps of the second recording so events continue sequentially. It also references the standard `asciinema rec` and `asciinema play` commands, and ends with a Python script that merges events from two files into a single output.

AI-generated description

Similar vizzes