#!/bin/sh
set -eu

command=${1:-}
case "$command" in
  doctor)
    docker version >/dev/null
    docker compose version >/dev/null
    echo "Docker and Docker Compose are available."
    ;;
  status)
    echo "No test run has been created; the shared harness is not implemented yet."
    ;;
  *)
    echo "usage: scripts/test-env doctor|status" >&2
    echo "recover/reuse/collect/reset/purge arrive with the Phase 0 harness implementation" >&2
    exit 2
    ;;
esac

