get.porter.sh/porter@v1.3.0/tests/integration/testdata/bundles/bundle-with-sensitive-data/helpers.sh (about)

     1  #!/usr/bin/env bash
     2  set -euo pipefail
     3  
     4  install() {
     5      echo Hello, $1
     6  }
     7  
     8  open_door() {
     9  	echo opening door using $1
    10  }
    11  
    12  upgrade() {
    13      echo World 2.0
    14  }
    15  
    16  uninstall() {
    17      echo Goodbye World
    18  }
    19  
    20  # Call the requested function and pass the arguments as-is
    21  "$@"