glab-cli
portavion tarafından
Git & GitHubÖzet
Interact with GitLab using the `glab` CLI.
Açıklama
Bu Beceri Ne Yapar
Wraps the `glab` CLI to interact with GitLab repositories, merge requests, CI/CD pipelines, issues, and releases. Works with gitlab.com and self-hosted instances. Supports direct API access via REST and GraphQL for operations beyond the built-in subcommands.
Combines merge request management, CI/CD inspection, and raw API access in one tool, removing the need to switch between the terminal and the GitLab web UI.
Ne Zaman Kullanılır
- Reviewing and merging open MRs from the terminal
- Checking pipeline status after pushing a branch
- Tracing failed CI job logs in real time
- Creating issues with labels without opening a browser
- Querying GitLab API endpoints with custom field filters
Örnek İş Akışı
User asks: Why is my pipeline failing on the lint job?
- 1
Run
glab ci statusto confirm the pipeline is failing - 2
Run
glab ci viewto inspect individual job statuses - 3
Run
glab ci trace lintto stream the lint job logs - 4
Identify the error in the log output
- 5
Run
glab ci retryafter the fix is pushed
Returns the lint error causing the failure and confirms the pipeline is retried
Gereksinimler
- glab CLI installed
- GitLab account (gitlab.com or self-hosted instance)
Kurulum
clawhub install portavion/glab-cliCLI komutunu çalıştırın ya da istemi Claude Code, Cursor, Codex veya kullandığınız kodlama ajanına yapıştırın.