Skip to content

Help pages

Help commands can exist at any level:

  • Top level (gh)
  • Second level (gh [command])
  • Third level (gh [command] [subcommand])

Each can be accessed using the --help flag, or using gh help [command].

Each help page includes a combination of different sections.

Required sections

  • Usage
  • Core commands
  • Flags
  • Learn more
  • Inherited flags

Other available sections

  • Additional commands
  • Examples
  • Arguments
  • Feedback

Example

The output of gh help
Edit this page on GitHub
2 contributorsyailiampinsk
Last edited by yaili on August 6, 2020