buf mod init

Initializes and writes a new buf.yaml configuration file.


$ buf mod init [] [flags]



Write inline documentation in the form of comments in the resulting configuration file

-h, --help

help for init

-o, --output string

The directory to write the configuration file to

Flags inherited from parent commands


Turn on debug logging

--log-format string

The log format [text,color,json]

--timeout duration

The duration until timing out, setting it to zero means no timeout

-v, --verbose

Turn on verbose mode

Parent Command