Skip to main content

github-automator CLI

Repo: score-ra/github-automator CLI entry point: python -m src.cli (run from repo root) Framework: Click 8.1+ Language: Python

GitHub repository administration CLI for multi-account management across score-ra and symphonycore-org. Automates repo listing, compliance auditing, namespace transfers, inventory management, credential scanning, and commit tracking.

Global Options

OptionDescription
-v, --verboseEnable verbose output
-a, --account NAMESelect configured account (work or personal)
--format {console,json}Output format
--versionShow version

Commands

Repository Discovery

CommandDescriptionDocs
listList repos for user or organizationView
classifyClassify repos by kind and infrastructure--
accountsList and verify configured GitHub accounts--

Compliance and Security

CommandDescriptionDocs
auditAudit repos for compliance issuesView
credential-scanScan repos for credentials and secretsView

Inventory Management

CommandDescriptionDocs
routeRoute PRDs/features to matching reposView
reconcileReconcile YAML inventory against GitHub APIView
update-repo-inventoryProfile-based inventory reconciliation--
export-docsExport inventory as markdown documentation--

Data Synchronization

CommandDescriptionDocs
syncSync commits from GitHub to local SQLite DBView
commitsQuery commits from local database--

Operations

CommandDescriptionDocs
transferTransfer repo to another organization--
clone-allClone all repos for an account profile--
dispatchTrigger repository_dispatch event--
healthRun repo health check--
issuesQuery issues across repositories--

Prerequisites

  • Python 3.10+
  • GITHUB_TOKEN or GITHUB_TOKEN_WORK / GITHUB_TOKEN_PERSONAL env vars
  • config/accounts.yaml for multi-account mode (see config/accounts.example.yaml)
  • pip install -r requirements.txt from repo root