Description
Provides autocompletion for GitHub CLI commands for repository management, issues, and pull requests.
GitHub
Essential Commands
Repository Operations
gh repo create
- Create new repositorygh repo clone
- Clone repositorygh repo fork
- Fork repositorygh repo list
- List repositoriesgh repo view
- View repository details
Issues and Pull Requests
gh issue create
- Create issuegh issue list
- List issuesgh issue view <number>
- View specific issuegh pr create
- Create pull requestgh pr list
- List pull requestsgh pr checkout <number>
- Checkout PR branchgh pr merge
- Merge pull request
Advanced Commands
Workflow Management
gh workflow run <name>
- Trigger workflowgh workflow list
- List workflowsgh run list
- List workflow runsgh run watch
- Watch workflow run
Advanced PR Operations
gh pr create --draft
- Create draft PRgh pr ready
- Mark draft PR as readygh pr review
- Review pull requestgh pr merge --squash
- Squash merge pull request
Usage Examples
# Repository management
gh repo create myproject --public
gh repo clone user/repo
# Pull request workflow
gh pr create --title "New feature" --body "Description"
gh pr checkout 42
gh pr review --approve
gh pr merge --squash
# Issue management
gh issue create --title "Bug report"
gh issue list --state open