Files
openclaw-bms/scripts/bms-lookup.sh
2026-04-08 02:22:08 +00:00

17 lines
565 B
Bash
Executable File

#!/usr/bin/env bash
set -euo pipefail
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
REPO_ROOT="$(cd "$SCRIPT_DIR/.." && pwd)"
export PYTHONPATH="${REPO_ROOT}/src${PYTHONPATH:+:$PYTHONPATH}"
cat >&2 <<'EOF'
Lookup subcommands from the old bash implementation were removed in the Python rewrite.
Use:
bms accounts
bms locations --account <id>
bms templates tickets list
bms templates notes list
bms templates timelogs list
For ticket/status IDs, use your tenant's known IDs or extend the Python service with tenant-specific lookups.
EOF
exit 1