bazelbuild/bazel
Ver no GitHubNew command "bazel completion (bash|zsh|fish)"
Open
#26.472 aberto em 4 de jul. de 2025
P3help wantedteam-CLItype: feature request
Métricas do repositório
- Stars
- (25.384 stars)
- Métricas de merge de PR
- (Mesclagem média 22d 20h) (77 fundiu PRs em 30d)
Description
Description of the feature request:
Bazel should support printable completions like kubectl, helm, gh-cli, rustup... I can keep going. The main cause of delay of bazelbuild/bazelisk#29 although it was the most upvoted issue in bazelisk was that there was no trivial way to actually get it. I believe this shouldn't be the work of bazelisk, but rather a command in bazel itself.
Even if not for the bazelisk use case, providing completions directly in the subcommand itself is much more useful, coherent and simpler.
Which category does this issue belong to?
CLI
What underlying problem are you trying to solve with this feature?
No response
Which operating system are you running Bazel on?
No response
What is the output of bazel info release?
No response
If bazel info release returns development version or (@non-git), tell us how you built Bazel.
No response
What's the output of git remote get-url origin; git rev-parse HEAD ?
Have you found anything relevant by searching the web?
No response
Any other information, logs, or outputs that you want to share?
No response