tldr/pages/common/gh-help.md

29 lines
517 B
Markdown
Raw Normal View History

2021-01-11 16:24:28 +00:00
# gh help
> Display help about the GitHub CLI command.
> More information: <https://cli.github.com/manual/gh_help>.
- Display general help:
`gh help`
- Display help for the `gh help` subcommand:
`gh help --help`
- Display help about environment variables that can be used with `gh`:
`gh help environment`
- Display a markdown reference of all `gh` commands:
`gh help reference`
- Display help for a subcommand:
`gh help {{subcommand}}`
- Display help for a subcommand action:
`gh help {{pr}} {{create}}`