GH-EXTENSION-EXEC(1) GitHub CLI manual GH-EXTENSION-EXEC(1)

gh-extension-exec - Execute an installed extension

gh extension exec <name> [args] [flags]

Execute an extension using the short name. For example, if the extension repository is owner/gh-extension, you should pass extension. You can use this command when the short name conflicts with a core gh command.

All arguments after the extension name will be forwarded to the executable of the extension.

# execute a label extension instead of the core gh label command
$ gh extension exec label

gh-extension(1)

Apr 2024