2021-08-25 21:56:31 +01:00
|
|
|
# gh extension
|
|
|
|
|
|
|
|
> Manage extensions for the GitHub CLI.
|
|
|
|
> More information: <https://cli.github.com/manual/gh_extension>.
|
|
|
|
|
|
|
|
- Initialize a new GitHub CLI extension project in a directory of the same name:
|
|
|
|
|
2021-09-29 16:01:24 +01:00
|
|
|
`gh extension create {{extension_name}}`
|
2021-08-25 21:56:31 +01:00
|
|
|
|
|
|
|
- Install an extension from a GitHub repository:
|
|
|
|
|
|
|
|
`gh extension install {{owner}}/{{repository}}`
|
|
|
|
|
|
|
|
- List installed extensions:
|
|
|
|
|
|
|
|
`gh extension list`
|
|
|
|
|
|
|
|
- Upgrade a specific extension:
|
|
|
|
|
2021-09-29 16:01:24 +01:00
|
|
|
`gh extension upgrade {{extension_name}}`
|
2021-08-25 21:56:31 +01:00
|
|
|
|
|
|
|
- Upgrade all extensions:
|
|
|
|
|
|
|
|
`gh extension upgrade --all`
|
2021-09-29 16:01:24 +01:00
|
|
|
|
|
|
|
- List installed extensions:
|
|
|
|
|
|
|
|
`gh extension list`
|
|
|
|
|
|
|
|
- Remove an extension:
|
|
|
|
|
|
|
|
`gh extension remove {{extension_name}}`
|
|
|
|
|
|
|
|
- Display help about a subcommand:
|
|
|
|
|
|
|
|
`gh extension {{subcommand}} --help`
|