1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-08-28 16:53:38 +02:00

gh-extension: add option placeholders (#17103)

This commit is contained in:
Managor 2025-07-04 06:41:07 +03:00 committed by GitHub
parent 7386b8aec3
commit 9f0452764b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -5,32 +5,32 @@
- Initialize a new GitHub CLI extension project in a directory of the same name: - Initialize a new GitHub CLI extension project in a directory of the same name:
`gh extension create {{extension_name}}` `gh {{[ext|extension]}} create {{extension_name}}`
- Install an extension from a GitHub repository: - Install an extension from a GitHub repository:
`gh extension install {{owner}}/{{repository}}` `gh {{[ext|extension]}} install {{owner}}/{{repository}}`
- List installed extensions: - List installed extensions:
`gh extension list` `gh {{[ext|extension]}} list`
- Upgrade a specific extension: - Upgrade a specific extension:
`gh extension upgrade {{extension_name}}` `gh {{[ext|extension]}} upgrade {{extension_name}}`
- Upgrade all extensions: - Upgrade all extensions:
`gh extension upgrade --all` `gh {{[ext|extension]}} upgrade --all`
- List installed extensions: - List installed extensions:
`gh extension list` `gh {{[ext|extension]}} list`
- Remove an extension: - Remove an extension:
`gh extension remove {{extension_name}}` `gh {{[ext|extension]}} remove {{extension_name}}`
- Display help about a subcommand: - Display help about a subcommand:
`gh extension {{subcommand}} --help` `gh {{[ext|extension]}} {{subcommand}} --help`