#!/usr/bin/env bash
#
# Uninstall Field:
#
#   curl -fsSL https://field.one/uninstall.sh | bash
#
# It runs the uninstall target of the newest release's installer, which
# field.one serves as /install.sh, so what an uninstall removes is decided
# there, versioned and tested with the installer (field's
# docs/projects/install/readme.md §3.5). `field uninstall` runs the same
# target when the field command still works.

set -euo pipefail

curl -fsSL https://field.one/install.sh | bash -s -- uninstall
