Download scripts/run.sh from AUXteam/pinch: direct link, hf CLI and curl.
- Browser
- Download file 381 Bytes
-
https://huggingface.co/spaces/AUXteam/pinch/resolve/main/scripts/run.sh
- Command line
-
hf download hf://spaces/AUXteam/pinch/scripts/run.sh
-
curl -L -o run.sh https://huggingface.co/spaces/AUXteam/pinch/resolve/main/scripts/run.sh
381 Bytes
| # Run an existing PinchTab binary from the repo root. | |
| set -euo pipefail | |
| cd "$(dirname "$0")/.." | |
| if [ ! -x ./pinchtab ]; then | |
| echo "pinchtab binary not found at ./pinchtab" | |
| echo "Build it first with: go build -o pinchtab ./cmd/pinchtab" | |
| exit 1 | |
| fi | |
| # Default to 'server' if no arguments are provided | |
| if [ $# -eq 0 ]; then | |
| set -- server | |
| fi | |
| exec ./pinchtab "$@" | |