bazelbuild/bazel

New command "bazel completion (bash|zsh|fish)"

Open

#26,472 opened on 2025年7月4日

GitHub で見る
 (2 comments) (2 reactions) (0 assignees)Java (4,465 forks)batch import
P3help wantedteam-CLItype: feature request

Repository metrics

Stars
 (25,384 stars)
PR merge metrics
 (平均マージ 22d 20h) (30d で 77 merged PRs)

説明

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

コントリビューターガイド