scripted-presenter/presentations/example-presentation.sh
Ansel Santosa 4d25774a61 Split library into separate script
* Allows library to be updated by git independently of presentations
* Makes presentation files more clean
2017-06-22 09:14:37 -07:00

27 lines
910 B
Bash
Executable File

#!/usr/bin/env bash
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
source "$DIR/../scripted-presenter.sh"
################################################################################
# copy this file and modify the section below for each presentation
################################################################################
prompt "This is the first step, no need to wait here"
run echo "Hello World"
wait_and_prompt "First command done, moving on to the second one"
run echo "Example command number two"
wait_and_prompt "Let's start a ping down below..."
run_below "-l 10" "ping localhost"
wait_and_prompt "Now open a ping in a new window, but don't show that window"
run_background "win-name" "ping localhost"
wait_and_prompt "Finally, run a ping next to this"
run_beside "-p 30" "ping localhost"
wait_and_prompt "Pressing enter one more time will kill the whole demo"
terminate