Buf(1) Buf(1)

buf-config-migrate - Migrate all buf.yaml, buf.work.yaml, buf.gen.yaml, and buf.lock files at the specified directories or paths to v2

buf config migrate [flags]

If no flags are specified, the current directory is searched for buf.yamls, buf.work.yamls, and buf.gen.yamls.

The effects of this command may change over time

--buf-gen-yaml=[] The paths to the buf.gen.yaml generation templates to migrate

-d, --diff[=false] Write a diff to stdout instead of migrating files on disk. Useful for performing a dry run.

-h, --help[=false] help for migrate

--module=[] The module directories to migrate. buf.yaml and buf.lock will be migrated

--workspace=[] The workspace directories to migrate. buf.work.yaml, buf.yamls and buf.locks will be migrated

--debug[=false] Turn on debug logging

--log-format="color" The log format [text,color,json]

--timeout=0s The duration until timing out, setting it to 0 means no timeout

buf-config(1)

2026-04-01 Auto generated by spf13/cobra

2026-04-01 Auto generated by spf13/cobra