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
| Option | Description |
|---|
-v, --verbose | Enable verbose output |
-a, --account NAME | Select configured account (work or personal) |
--format {console,json} | Output format |
--version | Show version |
Commands
Repository Discovery
| Command | Description | Docs |
|---|
list | List repos for user or organization | View |
classify | Classify repos by kind and infrastructure | -- |
accounts | List and verify configured GitHub accounts | -- |
Compliance and Security
| Command | Description | Docs |
|---|
audit | Audit repos for compliance issues | View |
credential-scan | Scan repos for credentials and secrets | View |
Inventory Management
| Command | Description | Docs |
|---|
route | Route PRDs/features to matching repos | View |
reconcile | Reconcile YAML inventory against GitHub API | View |
update-repo-inventory | Profile-based inventory reconciliation | -- |
export-docs | Export inventory as markdown documentation | -- |
Data Synchronization
| Command | Description | Docs |
|---|
sync | Sync commits from GitHub to local SQLite DB | View |
commits | Query commits from local database | -- |
Operations
| Command | Description | Docs |
|---|
transfer | Transfer repo to another organization | -- |
clone-all | Clone all repos for an account profile | -- |
dispatch | Trigger repository_dispatch event | -- |
health | Run repo health check | -- |
issues | Query 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