1
0
mirror of synced 2025-12-19 18:10:59 -05:00

Improve GitHub CLI reference page (#22720)

This commit is contained in:
Mislav Marohnić
2021-11-12 14:53:54 +01:00
committed by GitHub
parent 12c384d3e9
commit b16faba20f

View File

@@ -11,10 +11,16 @@ topics:
type: reference
---
To view all {% data variables.product.prodname_cli %} commands, see the [{% data variables.product.prodname_cli %} manual](https://cli.github.com/manual/gh_help_reference) or use the `reference` command.
To view all top-level {% data variables.product.prodname_cli %} commands, see the [{% data variables.product.prodname_cli %} manual](https://cli.github.com/manual/gh) or call `gh` without arguments.
```shell
gh reference
gh
```
To list all commands under a specific group, use the top-level command without arguments. For example, to list [commands for managing repositories](https://cli.github.com/manual/gh_repo):
```shell
gh repo
```
To view the environment variables that can be used with {% data variables.product.prodname_cli %}, see the [{% data variables.product.prodname_cli %} manual](https://cli.github.com/manual/gh_help_environment) or use the `environment` command.