3 ms·
I prefer using asciicinema. It's perfectly OK to use a recording but no need to hide it.
by meop 9y ago
I prefer using asciicinema. It's perfectly OK to use a recording but no need to hide it.
- sp332 9y agoIt's not recording the effects of the commands being run. It only records the commands, so each command is run live.
- justinsaccount 9y agoI like making recordings too, but they are annoying to update/recreate when the expected output changes. I found spielbash[1] recently which helps you automate asciinema recordings... though it was a bit broken and I ended up forking it and re-writing most of it [2] and adding a bunch of new features. There's probably a way to merge the two ideas and have a way to automate live demos as well as have a mode that just spits out a asciinema recording. [1] https://github.com/redhat-cip/spielbash https://github.com/redhat-cip/spielbash [2] https://github.com/justinazoff/spielbash https://github.com/justinazoff/spielbash
- andrenotgiant 9y agoNice! I'm glad you posted. I forked spielbash in order to add an option that lets it read `cloud-init`[1] YAML as input, and also noticed there were opportunities to improve the original. Will see if I can jump over to your fork. [1] http://cloudinit.readthedocs.io/en/latest/ http://cloudinit.readthedocs.io/en/latest/