prb completion command reference
Reference for 1 command under prb completion, including usage, flag types and defaults, required flags, source examples, and implementation links
Generate shell completion scripts. This page documents 1 command under prb completion.
Flags and examples below come from the command definitions. A Required flag is explicitly marked required by Cobra; an unmarked flag can still be needed by runtime validation or a non-interactive workflow. Empty strings and empty lists are registered defaults, not sample values.
Every command also inherits the global flags. Run prb <command> --help to check your installed version. Replace placeholder IDs and names in source examples before running them. Return to the complete CLI command reference to browse another command.
Commands
Section titled “Commands”| Command | Description | Usage | Source |
|---|---|---|---|
prb completion | Generate shell completion scripts. | prb completion <shell> | View implementation |
prb completion
Section titled “prb completion”Generate shell completion scripts.
prb completion <shell>Requires 1 positional argument.
Additional help
Section titled “Additional help”Generate shell completion scripts for prb.
To load completions:
Bash: $ source <(prb completion bash) # To load completions for each session, execute once: # Linux: $ prb completion bash > /etc/bash_completion.d/prb # macOS: $ prb completion bash > $(brew --prefix)/etc/bash_completion.d/prb
Zsh: $ source <(prb completion zsh) # To load completions for each session, execute once: $ prb completion zsh > "${fpath[1]}/_prb"
Fish: $ prb completion fish | source # To load completions for each session, execute once: $ prb completion fish > ~/.config/fish/completions/prb.fish
PowerShell: PS> prb completion powershell | Out-String | Invoke-Expression # To load completions for each session, execute once: PS> prb completion powershell > prb.ps1