#!/bin/sh
# Development launcher. Install with `pipx install .` for the real command.
DIR=$(CDPATH= cd -- "$(dirname -- "$0")" && pwd)
if [ ! -x "$DIR/.venv/bin/python" ]; then
  echo "Missing .venv. Run: python3 -m venv .venv && .venv/bin/pip install -e ." >&2
  exit 1
fi
exec "$DIR/.venv/bin/python" -m md2plain "$@"
