Skip to content

Commit b16faba

Browse files
authored
Improve GitHub CLI reference page (#22720)
1 parent 12c384d commit b16faba

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

content/github-cli/github-cli/github-cli-reference.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,16 @@ topics:
1111
type: reference
1212
---
1313

14-
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.
14+
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.
1515

1616
```shell
17-
gh reference
17+
gh
18+
```
19+
20+
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):
21+
22+
```shell
23+
gh repo
1824
```
1925

2026
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.

0 commit comments

Comments
 (0)