Prune unused dependencies from the buf.lock file


$ buf mod prune <directory> [flags]


The first argument is the directory of the local module to prune. Defaults to "." if no argument is specified.


-h, --help

help for prune

Flags inherited from parent commands


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

-v, --verbose

Turn on verbose mode

Parent Command