Buf(1)

πŸ“¦
version 1.75.0 Β· 3 versions
, in arch rolling

✨ 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 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 🌈

πŸ’œ OPTIONS INHERITED FROM PARENT COMMANDS πŸ’œ

  • --debug[=false] β€” turn on debug logging (env BUF_DEBUG) πŸ›
  • --log-format="color" β€” the log format text,color,json (env BUF_LOG_FORMAT) 🎨
  • --timeout=0s β€” the duration until timing out, setting it to 0 means 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