cli/pkg/extensions
William Martin 7ad1d7c0a1 Suggest and install official extensions via stub commands
Register hidden stub commands for official GitHub extensions (gh-aw,
gh-stack) that offer to install the extension when invoked. This
replaces the error-string-matching approach from the original PR with
proper cobra commands that:

- Avoid false-positive matches on flag values or post-'--' args
- Eliminate conflicting cobra 'Did you mean?' suggestions
- Properly propagate prompt/install errors for correct exit codes
- Are hidden from help output and shell completions
- Use GroupID "extension" so checkValidExtension allows installing over them
- Are registered after extensions and aliases so both take priority

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-04-16 17:58:37 +02:00
..
extension.go Remove Extension.FullName() from interface 2024-12-08 20:01:26 -05:00
extension_mock.go Remove Extension.FullName() from interface 2024-12-08 20:01:26 -05:00
manager_mock.go Enhance extension manager and tests 2024-12-08 19:40:24 -05:00
official.go Suggest and install official extensions via stub commands 2026-04-16 17:58:37 +02:00
official_test.go Suggest and install official extensions via stub commands 2026-04-16 17:58:37 +02:00