Buf(1)
π Buf(1) β like, the manual page bestie π
Okay so this is Buf(1), and honestly? It's giving "auto-generated but make it cute." Buckle up, we're talking about buf config init and you're gonna slay this.
β¨ NAME β¨
buf-config-init β the little command that sets up your buf configuration files so your local dev era can officially begin. π¦
πΈ SYNOPSIS πΈ
buf config init [buf.build/owner/foobar] [flags]
That's it. That's the whole vibe check. You can pass it a buf.build/owner/foobar-sized argument or flags (or both, no cap β the brackets are just being polite).
π DESCRIPTION π
So here's the tea: this command writes a brand new buf.yaml file to kickstart your local development. Fresh file, fresh start, main character energy. β¨
Now, important caveat bestie β if a buf.yaml already exists, this command will not overwrite it. Nope, it's not gonna touch your stuff. Instead it will produce an error. So it's respectful, but also dramatic about it. π
Also lowkey a heads-up: the effects of this command may change over time β like, it may initialize other files such as buf.gen.yaml files in the future. So what it does today isn't a forever promise. π
β OPTIONS β
-h,--help[=false]β shows you the help forinit. Your classic "wait what does this do again" button. π«Ά-o,--output="."β The directory to write the configuration files to. Default is"."(aka right here, where you're standing). π
π OPTIONS INHERITED FROM PARENT COMMANDS π
These come from the parent command, so they're like, family traits. π
--debug[=false]β Turn on debug logging. Defaults tofalse. (envBUF_DEBUG) π--log-format="color"β The log format β pick fromtext,color,json. Defaults tocolor. (envBUF_LOG_FORMAT) π--timeout=0sβ The duration until timing out. Setting it to0means no timeout. Defaults to0s. (envBUF_TIMEOUT) β°
π¦ SEE ALSO π¦
buf-config(1) β go read that one next, iykyk. π«
π§ HISTORY π§
2026-10-22 β Auto generated by spf13/cobra. The robots did this one, not me. π
Fr fr though: don't try to overwrite an existing buf.yaml with this. It won't, and it'll error at you. Respect the boundary. π
Auto generated by spf13/cobra Β· 2026-10-22 Β· Buf(1) β okay that's the whole page bestie, you ate that, periodt. πβ¨ππ¦πΈπ«Ά
π¦ 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