Reference

buf mod prune

Prune unused dependencies from the buf.lock file

Usage

$ buf mod prune <directory> [flags]

Description

The first argument is the directory of the local module to prune. 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

-v, --verbose

Turn on verbose mode

Parent Command