From b16faba20f408ccd5f6046771c5432824411e217 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mislav=20Marohni=C4=87?= Date: Fri, 12 Nov 2021 14:53:54 +0100 Subject: [PATCH] Improve GitHub CLI reference page (#22720) --- content/github-cli/github-cli/github-cli-reference.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/content/github-cli/github-cli/github-cli-reference.md b/content/github-cli/github-cli/github-cli-reference.md index d57c6efbb0..8ebd76264c 100644 --- a/content/github-cli/github-cli/github-cli-reference.md +++ b/content/github-cli/github-cli/github-cli-reference.md @@ -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.