:seedling: Make generate-asciidemo.sh generic by perdasilva · Pull Request #1755 · operator-framework/operator-controller

Description

Makes generate-asciidemo.sh generic to make it easier to create demo scripts and generate asciinema out of them for PRs and demos, etc.

The motivation for this change is: I was creating a demo script for the single/own namespace feature and noticed duplication in the "generate_asciinema" scripts where the only difference was the demo script being called. Hopefully, this little script helps us make demos easier =D

Reviewer Checklist

  • API Go Documentation
  • Tests: Unit Tests (and E2E Tests, if appropriate)
  • Comprehensive Commit Messages
  • Links to related GitHub Issue(s)