Files

19 lines
580 B
Bash
Raw Permalink Normal View History

2026-06-24 12:44:34 -07:00
#!/usr/bin/env bash
# Translate legacy CLI args into WORLDBENCH_* env vars.
TOOL_SETS=()
while [[ $# -gt 0 ]]; do
case $1 in
--task-id) export WORLDBENCH_TASK_ID="$2"; shift 2;;
--world-root) export WORLDBENCH_ROOT="$2"; shift 2;;
--tool-sets) shift;
while [[ $# -gt 0 && ! "$1" =~ ^-- ]]; do
TOOL_SETS+=("$1"); shift;
done
export WORLDBENCH_TOOL_SETS="${TOOL_SETS[*]}";;
*) shift;;
esac
done
uv run --package mcp-proxy mcp-proxy setup