Alias gh extension uninstall to gh extension remove - #13599
Merged
Conversation
Register `uninstall` as an official cobra alias for `gh extension remove` so it shows up in `--help` and pairs naturally with `gh extension install`. Closes #13598 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Contributor
There was a problem hiding this comment.
Pull request overview
Registers uninstall as an official Cobra alias for gh extension remove, making gh extension uninstall discoverable in --help while keeping remove as the canonical command name.
Changes:
- Adds
Aliases: []string{"uninstall"}to thegh extension removesubcommand so Cobra surfaces the alias in help output.
Show a summary per file
| File | Description |
|---|---|
pkg/cmd/extension/command.go |
Adds the uninstall alias to the remove subcommand so it appears under ALIASES in help output. |
Copilot's findings
Tip
Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
- Files reviewed: 1/1 changed files
- Comments generated: 0
babakks
approved these changes
Jun 5, 2026
5 tasks
SiddhantOfficial
pushed a commit
to SiddhantOfficial/claude-builders-bounty
that referenced
this pull request
Jun 16, 2026
…aude-builders-bounty#4) Adds claude-review, a Claude Code sub-agent that fetches a GitHub PR's diff and emits a structured Markdown review (Summary / Risks / Suggestions / Confidence). - CLI: claude-review --pr <url|owner/repo#n> [--post] [--model] - Native sub-agent: .claude/agents/pr-reviewer.md - GitHub Action: github-action/claude-review.yml (post review on every PR) - README with setup + usage - Tested on 2 real PRs (cli/cli#13599, cli/cli#13469); outputs in samples/ Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Registers
uninstallas an official cobra alias ofgh extension removeso it shows up in--helpand pairs naturally withgh extension install.Key Points
Aliases: []string{"uninstall"}to theremovesubcommand in the extension command file. Cobra surfaces it underALIASESin--helpautomatically.removestays the canonical name, so docs and the acceptance txtar are untouched.removecases cover the RunE.Notes for reviewers
Single-commit PR, one file touched. Manual sanity check after building:
Additional Context
install/uninstallis the more discoverable pairing, and aliasing avoids a breaking rename ofremove.