buf mod update

Update a module's dependencies by updating the buf.lock file


$ buf mod update <directory> [flags]


Fetch the latest digests for the specified references in the config file, and write them and their transitive dependencies to the buf.lock file. The first argument is the directory of the local module to update. Defaults to "." if no argument is specified.


-h, --help

help for update

--only strings

The name of the dependency to update. When set, only this dependency is updated (along with any of its sub-dependencies). May be passed multiple times

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