Skip to content

buf plugin prune#

Prune unused plugins from buf.lock

Usage#

$ buf plugin prune <directory> [flags]

Description#

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.

Flags#

-h, --help#

help for prune

Flags inherited from parent commands#

--debug#

Turn on debug logging (env BUF_DEBUG)

--log-format string#

The log format [text,color,json] (env BUF_LOG_FORMAT)

--timeout duration#

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

Parent Command#