Skip to content

buildkit completer #3194

Closed
Closed

Description

@polo871209

Command

buildctl build

Description

Hello @rsteube !

I did tried to bridge with

buildctl: urfavecli

but the suggestion look like this

| buildctl
"   "
"   --addr value           buildkitd address (default"
"   --debug                enable debug output in logs"
"   --help, -h             show help"
"   --log-format value     log formatter"
"   --timeout value        timeout backend connection after value seconds (default"
"   --tlscacert value      CA certificate for validation"
"   --tlscert value        client certificate"
"   --tlsdir value         directory containing CA certificate, client certificate, and client key. Supported file names are (ca.pem, cert.pem, ke...
"   --tlskey value         client key"
"   --tlsservername value  buildkitd server name for certificate validation"
"   --version, -v          print the version"
"   --wait                 block RPCs until the connection becomes available"
"   build, b         build"
"   buildctl - build utility"
"   buildctl command [command options] [arguments...]"
"   debug            debug utilities"
"   du               disk usage"
"   help, h          Shows a list of commands or help for one command"
"   prune            clean up build cache"
"   prune-histories  clean up build histories"
COMMANDS
NAME
OPTIONS
USAGE

Homepage

https://github.com/moby/buildkit

Documentation

No response

Repository

https://github.com/moby/buildkit

Complexity

S

Anything else?

No response

Activity

  1. added
    enhancementNew feature or request
    fundFundable with polar.sh
    completerHigh level tracking issue for completer
    on Jan 19, 2026
  2. rsteube commented on Jan 19, 2026

    @rsteube
    Member

    Try:

    buildctl: urfavecli@v1
  3. polo871209 commented on Jan 19, 2026

    @polo871209
    Author

    still the same output

    󰊠 | buildctl
    "   "
    "   --addr value           buildkitd address (default: \"unix:///var/run/buildkit/buildkitd.sock\")"
    "   --debug                enable debug output in logs"
    "   --help, -h             show help"
    "   --log-format value     log formatter: json or text (default: \"text\")"
    "   --timeout value        timeout backend connection after value seconds (default: 5)"
    "   --tlscacert value      CA certificate for validation"
    "   --tlscert value        client certificate"
    "   --tlsdir value         directory containing CA certificate, client certificate, and client key. Supported file names are (ca.pem, cert.pem, ke...
    "   --tlskey value         client key"
    "   --tlsservername value  buildkitd server name for certificate validation"
    "   --version, -v          print the version"
    "   --wait                 block RPCs until the connection becomes available"
    "   build, b         build"
    "   buildctl - build utility"
    "   buildctl command [command options] [arguments...]"
    "   debug            debug utilities"
    "   du               disk usage"
    "   help, h          Shows a list of commands or help for one command"
    "   prune            clean up build cache"
    "   prune-histories  clean up build histories"
    COMMANDS:
    NAME:
    OPTIONS:
    USAGE:
  4. rsteube commented on Jan 19, 2026

    @rsteube
    Member

    buildctl hasn't got the completions enabled:

    diff --git a/cmd/buildctl/main.go b/cmd/buildctl/main.go
    index 83068441f..079de6070 100644
    --- a/cmd/buildctl/main.go
    +++ b/cmd/buildctl/main.go
    @@ -44,6 +44,7 @@ func main() {
     	app.Name = "buildctl"
     	app.Usage = "build utility"
     	app.Version = version.Version
    +	app.EnableBashCompletion = true
     
     	defaultAddress := os.Getenv("BUILDKIT_HOST")
     	if defaultAddress == "" {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    completerHigh level tracking issue for completerenhancementNew feature or requestfundFundable with polar.sh

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions