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

--log-format string#

The log format [text,color,json]

--timeout duration#

The duration until timing out, setting it to zero means no timeout

Parent Command#