gh-extension-exec - Man Page

Execute an installed extension

Synopsis

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

Description

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.

Exit Codes

0: Successful execution

1: Error

2: Command canceled

4: Authentication required

NOTE: Specific commands may have additional exit codes. Refer to the command's help for more information.

Example

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

See Also

gh-extension(1)

Referenced By

gh-extension(1).

Dec 2024 GitHub CLI manual