#!/usr/bin/env bash
# od-auth - dispatch to m365ctl auth subcommand.
# The wrapper lives here rather than in pyproject [project.scripts] so
# users can invoke `./bin/od-auth` directly from a repo clone without
# installing the package, and so future tools added under `bin/` use a
# consistent pattern.
set -euo pipefail

REPO="$(cd "$(dirname "$0")/.." && pwd)"
exec uv run --project "$REPO" python -m m365ctl od auth "$@"
