What problem does it solve?
Provides a comprehensive command reference and operational patterns for managing GitHub resources from the terminal, reducing manual web workflows and enabling scripted automation for repository maintenance and collaboration.
Core Features & Use Cases
- Repository creation, cloning, forking, editing, renaming, archiving, and syncing.
- Issue and pull request lifecycle management including create, review, checkout, merge, and checks.
- GitHub Actions run inspection, reruns, artifact download, and workflow control.
- Releases, gists, search, labels, secrets and variables, caches, Projects V2, Codespaces, extensions, and advanced GraphQL queries for operations that the CLI does not natively expose.
- Use Case: Automate triage by listing failing workflow runs, downloading logs, opening the related PR, and adding labels or comments programmatically from CI or local scripts.
Quick Start
Authenticate gh and then run a gh command to list recent workflow runs and open the failing run logs in your terminal.