14 lines
603 B
Bash
14 lines
603 B
Bash
#!/usr/bin/env bash
|
|
# @alias: @@NAME@@
|
|
# Thin wrapper: @@DESCRIPTION@@
|
|
# Real logic lives in the sibling @@PKG@@.py (uv script — run --help for docs).
|
|
#
|
|
# This shim exists for two reasons and must stay:
|
|
# 1. scripts/install-skill-aliases.sh only scans `*.sh` for the `# @alias:`
|
|
# header above, so the Python file alone would never land on PATH.
|
|
# 2. it guarantees `uv` is reachable before exec'ing the uv-script shebang.
|
|
set -euo pipefail
|
|
HERE="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
|
command -v uv >/dev/null 2>&1 || export PATH="$HOME/.local/bin:$PATH"
|
|
exec "$HERE/@@PKG@@.py" "$@"
|