cli/internal/ghcmd
Kynan Ware 75909ed2ba Suggest and install official extensions for unknown commands
When a user runs an unknown command that matches a known official
extension (e.g. `gh stack` or `gh aw`), show an install suggestion.
In interactive TTY sessions, prompt the user to install it on the spot.

The official extension registry is hard-coded in pkg/extensions/.
Current entries are github/gh-aw and github/gh-stack. Teams can add
their extensions via PR. Install suggestions use an explicit github.com
host prefix for GHES compatibility.

Refs github/cli#220

Co-Authored-By: Copilot <223556219+Copilot@users.noreply.github.com>
2026-04-15 17:50:31 -06:00
..
cmd.go Suggest and install official extensions for unknown commands 2026-04-15 17:50:31 -06:00
cmd_test.go Initial testscript introduction 2024-10-11 16:31:16 +02:00
update_disabled.go doc(update): improve comments on updaterEnabled 2025-05-27 13:05:47 -06:00
update_enabled.go doc(update): improve comments on updaterEnabled 2025-05-27 13:05:47 -06:00