.nh .TH "Buf" "1" "2026-10-22" "Auto generated by spf13/cobra" "" .SH NAME buf-config-init - Initialize buf configuration files for your local development .SH SYNOPSIS \fBbuf config init [buf.build/owner/foobar] [flags]\fP .SH DESCRIPTION This command will write a new buf.yaml file to start your local development. .PP If a buf.yaml already exists, this command will not overwrite it, and will produce an error. .PP The effects of this command may change over time - this command may initialize i.e. buf.gen.yaml files in the future. .SH OPTIONS \fB-h\fP, \fB--help\fP[=false] help for init .PP \fB-o\fP, \fB--output\fP="." The directory to write the configuration files to .SH OPTIONS INHERITED FROM PARENT COMMANDS \fB--debug\fP[=false] Turn on debug logging (env BUF_DEBUG) .PP \fB--log-format\fP="color" The log format text,color,json \[la]env BUF_LOG_FORMAT\[ra] .PP \fB--timeout\fP=0s The duration until timing out, setting it to 0 means no timeout (env BUF_TIMEOUT) .SH SEE ALSO \fBbuf-config(1)\fP .SH HISTORY 2026-10-22 Auto generated by spf13/cobra