Shell completion#
Bash, Zsh, and Fish completion are generated from the same public command specification as installed help and the CLI reference. Maintainer-only fixture, profile, task, lane, and report flags are excluded by construction.
| Shell | Shipped file | Current-session install | |
|---|---|---|---|
bash | completions/pulse.bash | source <(pulse completion bash) | |
zsh | completions/_pulse | source <(pulse completion zsh) | |
fish | completions/pulse.fish | `pulse completion fish | source` |
Generate from the installed CLI#
pulse completion <bash|zsh|fish> prints the exact script shipped in the package. This is useful for dotfiles and container images that should not depend on an npm installation path.
Install persistently#
- Bash: copy
completions/pulse.bashinto a directory loaded bybash-completion, or source it from~/.bashrc. - Zsh: copy
completions/_pulseinto a directory on$fpath, then runcompinit. - Fish: copy
completions/pulse.fishinto~/.config/fish/completions/.
Completion candidates include the seven project commands, help/version/completion invocations, public flags, provider values, and completion shell names. The machine-readable owner is cli-spec.json.