| 1 | #!/usr/bin/env bash | 
| 2 | # | 
| 3 | # Usage: | 
| 4 | # devtools/services/asciinema.sh <function name> | 
| 5 | |
| 6 | set -o nounset | 
| 7 | set -o pipefail | 
| 8 | set -o errexit | 
| 9 | |
| 10 | install() { | 
| 11 | sudo apt-get install asciinema | 
| 12 | } | 
| 13 | |
| 14 | |
| 15 | # | 
| 16 | # Instructions: | 
| 17 | # | 
| 18 | # 'asciinema rec' to record interactively | 
| 19 | # 'asciinema auth' to be able to delete/rename uploaded recordings | 
| 20 | # | 
| 21 | # https://asciinema.org/~andyc | 
| 22 | # | 
| 23 | |
| 24 | "$@" |