Reference

buf mod init

Initializes and writes a new buf.yaml configuration file.

Usage

$ buf mod init [buf.build/owner/foobar] [flags]

Flags

--doc

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

--debug

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