Files
skills/skills/python/scripts/install-sonde.sh
T
2026-10-19 14:16:52 -07:00

14 lines
515 B
Bash
Executable File

#!/usr/bin/env bash
# (Re)install `sonde` from the copy shipped in this skill (../sonde).
#
# The installed tool is a copy, not a link: re-run after every change to
# ../sonde, and bump its version so `sonde --version` shows which build runs.
set -euo pipefail
here=$(cd -- "$(dirname -- "$(readlink -f -- "$0")")" && pwd)
command -v uv >/dev/null || {
echo "uv is missing: run the common-tooling skill's scripts/install-tools.sh" >&2
exit 1
}
uv tool install --reinstall --quiet "$here/../sonde"
sonde --version