Linux command
gh-help 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Show general help
gh help
Get help for command
gh help [pr]
Get help for subcommand
gh help [pr] [create]
Show environment variables
gh help environment
List formatting options
gh help formatting
说明
gh help provides documentation for GitHub CLI commands. It displays usage information, available flags, examples, and related commands for any gh command or subcommand. The help system includes special topics like environment variables that affect gh behavior and formatting options for customizing output. Help content is built into the gh binary and available offline. gh help is essential for discovering command capabilities and correct usage.
参数
- environment
- Show environment variables.
- formatting
- Show output formatting options.
- mintty
- Show MinTTY configuration help.
- --help
- Display help information.
FAQ
What is the gh-help command used for?
gh help provides documentation for GitHub CLI commands. It displays usage information, available flags, examples, and related commands for any gh command or subcommand. The help system includes special topics like environment variables that affect gh behavior and formatting options for customizing output. Help content is built into the gh binary and available offline. gh help is essential for discovering command capabilities and correct usage.
How do I run a basic gh-help example?
Run `gh help` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does environment do in gh-help?
Show environment variables.