Skip to content

buf dep update#

Update pinned module dependencies in a buf.lock

Usage#

$ buf dep update <directory> [flags]

Description#

Fetch the latest digests for the specified module references in buf.yaml, and write them and their transitive dependencies to buf.lock.

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

Flags#

-h, --help#

help for update

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#