#!/usr/bin/env bash set -euo pipefail MANDIR="$HOME/.local/share/man/man1" mkdir -p "$MANDIR" go run ./man cp out/* "$MANDIR"