tldr/pages/common/gh-help.md

37 lines
670 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 about formatting JSON output from `gh` using `jq`:
`gh help formatting`
- Display help about using `gh` with MinTTY:
`gh help mintty`
2021-01-11 16:24:28 +00:00
- Display help for a subcommand:
`gh help {{subcommand}}`
- Display help for a subcommand action:
`gh help {{pr}} {{create}}`