1 2 3 4 5 6
#!/usr/bin/env bash set -eu target=$1 shift out=$(rg --only-matching ": out (\w*)" -r '$1' $target) exec "$BIZ_ROOT/_/bin/$out" "$@"