Buf(1)
β¨ NAME β¨
okay bestie, from the Buf(1) manual: 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 π
πΈ SYNOPSIS πΈ
buf config migrate [flags]
π DESCRIPTION π
If no flags are specified, the current directory is searched for buf.yamls, buf.work.yamls, and buf.gen.yamls πβ¨
Heads up, bestie: the effects of this command may change over time π
It's giving "migration era," and honestly? We're here for it π¦
π OPTIONS π
--buf-gen-yaml=[]β the paths to thebuf.gen.yamlgeneration 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.yamlandbuf.lockwill be migrated π§--workspace=[]β the workspace directories to migrate.buf.work.yaml,buf.yamlsandbuf.lockswill be migrated π
π OPTIONS INHERITED FROM PARENT COMMANDS π
--debug[=false]β turn on debug logging (env BUF_DEBUG) π--log-format="color"β the log formattext,color,json(env BUF_LOG_FORMAT) π¨--timeout=0sβ the duration until timing out, setting it to0means no timeout (env BUF_TIMEOUT) β°
π¦ SEE ALSO π¦
buf-config(1) β go read that one too, bestie, iykyk π
β HISTORY β
2026-10-22 β Auto generated by spf13/cobra π€
mwah π β this page is Auto generated by spf13/cobra, dated 2026-10-22, and it belongs to the Buf(1) manual. bye bestie, slay your migrations π«Άβ¨
π¦ where this page comes from
- arch rolling: buf 1.75.0-1 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms