gh completion
Generate shell completion scripts for GitHub CLI commands. More information: https://cli.github.com/manual/gh_completion.
- Print a completion script:
gh completion
- Append the
ghcompletion script to~/.bashrc:
gh completion bash >>~/.bashrc
- Append the
ghcompletion script to~/.zshrc:
gh completion zsh >>~/.zshrc
- Display the subcommand help:
gh completion
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
