#!/usr/bin/env bash
# Shim script for running Poe the Poet tasks via uv
# Usage: ./poe <task> [args...]

set -e

if ! command -v uv &> /dev/null; then
    echo "Error: uv is required. Install it with: curl -LsSf https://astral.sh/uv/install.sh | sh"
    exit 1
fi

exec uv run poe "$@"
