Spielbash helps you to automate asciicasts with asciinema. This project is a complete rewrite of spielbash by Red Hat Cloud Innovation Practice in Ruby.
Allocate an interactive session and run the program.
Sample session (user input in bold):
[user@biowulf]$ sinteractive salloc.exe: Pending job allocation 46116226 salloc.exe: job 46116226 queued and waiting for resources salloc.exe: job 46116226 has been allocated resources salloc.exe: Granted job allocation 46116226 salloc.exe: Waiting for resource configuration salloc.exe: Nodes cn3144 are ready for job [user@cn3144 ~]$ module load spielbash [+] Loading asciinema 2.4.0 on cn3144 [+] Loading spielbash, version 0.1.4... [user@cn3144 ~]$ spielbash record -o test.cast --script $SPIELBASH_HOME/examples/scenario_1.yaml [user@cn3144 ~]$ asciinema play test.cast [user@cn3144 ~]$ exit salloc.exe: Relinquishing job allocation 46116226 [user@biowulf ~]$