Generate GitHub CLI Completion - Shell Scripts | Online Free DevTools by Hexmos
Generate completion scripts with GitHub CLI. Enhance shell usability and streamline command input on bash, zsh, fish, and powershell. Free online tool, no registration required.
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 {{[-s|--shell]}} {{bash|zsh|fish|powershell}}
- Append the
ghcompletion script to~/.bashrc:
gh completion {{[-s|--shell]}} {{bash}} >> {{~/.bashrc}}
- Append the
ghcompletion script to~/.zshrc:
gh completion {{[-s|--shell]}} {{zsh}} >> {{~/.zshrc}}
- Display the subcommand help:
gh completion