Buf(1) Buf(1)

buf-plugin-prune - Prune unused plugins from buf.lock

buf plugin prune [flags]

Plugins that are no longer configured in buf.yaml are removed from the buf.lock file.

The first argument is the directory of your buf.yaml configuration file. Defaults to "." if no argument is specified.

-h, --help[=false] help for prune

--debug[=false] Turn on debug logging (env BUF_DEBUG)

--log-format="color" The log format text,color,json ⟨env BUF_LOG_FORMAT⟩

--timeout=0s The duration until timing out, setting it to 0 means no timeout (env BUF_TIMEOUT)

buf-plugin(1)

2026-10-22 Auto generated by spf13/cobra

2026-10-22 Auto generated by spf13/cobra