mirror of
https://github.com/OpenRouterTeam/spawn.git
synced 2026-05-06 16:31:08 +00:00
Standalone, sourceable script that installs the gh CLI and runs interactive gh auth login. Any agent script on any cloud can source it and call ensure_github_auth to get authenticated with GitHub. - ensure_gh_cli: installs via brew/apt/dnf/binary fallback - ensure_gh_auth: uses GITHUB_TOKEN or interactive OAuth flow - ensure_github_auth: combined convenience wrapper - Idempotent, macOS bash 3.x compatible, curl|bash compatible Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| common.sh | ||
| github-auth.sh | ||
| key-request.sh | ||