#!/usr/bin/env bash set -euo pipefail APP_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" if [[ ! -f "$APP_DIR/status.json" ]]; then echo "status.json does not exist; the bridge has not produced status yet" exit 1 fi python3 -m json.tool "$APP_DIR/status.json"