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

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