Bootstrap
Path:
pi-cybernetic/phase0-gate-governance/bootstrap.shRelative: phase0-gate-governance/bootstrap.shSubproject: pi-cyberneticCategory: scriptsLines: 104Bytes: 4,432Imports: 0Exports: 0
Content Preview
- #!/usr/bin/env bash
- # bootstrap.sh — install Phase 0 gate governance into a target repo.
- #
- # Usage: ./bootstrap.sh /home/mikes/leverage-loops-projects/loom-builder [--with-remote]
- #
- # Idempotent: safe to re-run. Every step reports; nothing is silent.
- # --with-remote additionally creates a private GitHub remote via `gh` and
- # pushes (requires an authenticated gh CLI; skipped otherwise).
- set -euo pipefail
- PKG="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
- REPO="${1:?usage: bootstrap.sh /path/to