19 lines
580 B
Bash
Executable File
19 lines
580 B
Bash
Executable File
#!/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
|