#!/usr/bin/env bash
# 跳转到同级 ops 多项目菜单
set -euo pipefail
ROOT="$(cd "$(dirname "$0")" && pwd)"
MENU="${OPS_MENU:-$ROOT/../ops/deploy.sh}"
if [ ! -f "$MENU" ]; then
  echo "找不到菜单: $MENU" >&2
  echo "请把 ops/ 放在与本项目同级，或设置 OPS_MENU=/path/to/ops/deploy.sh" >&2
  exit 1
fi
exec bash "$MENU" "$@"
