completions
Generate shell completions for pinprick. Output is written to stdout — redirect it to the location your shell loads completions from.
pinprick completions <SHELL><SHELL> is one of: bash, elvish, fish, powershell, zsh.
Install
Section titled “Install”pinprick completions zsh > ~/.zfunc/_pinprickMake sure ~/.zfunc is on your fpath and autoload -Uz compinit && compinit runs in your .zshrc.
pinprick completions bash | sudo tee /etc/bash_completion.d/pinprick > /dev/nullOr, without root:
mkdir -p ~/.local/share/bash-completion/completionspinprick completions bash > ~/.local/share/bash-completion/completions/pinprickpinprick completions fish > ~/.config/fish/completions/pinprick.fishPowerShell
Section titled “PowerShell”pinprick completions powershell | Out-String | Invoke-ExpressionFor persistent completions, append the output to your PowerShell profile ($PROFILE).
Updating
Section titled “Updating”Regenerate completions after every pinprick upgrade — new subcommands and flags are only discoverable through the regenerated file.