Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewRootCommand ¶ added in v0.4.0
func NewRootCommand(use string, options ...RootCommandOption) *clicobra.Command
NewRootCommand creates a new root Command.
Types ¶
type Flags ¶
type Flags struct {
Config string
AgainstConfig string
Input string
AgainstInput string
Output string
AsFileDescriptorSet bool
ExcludeImports bool
ExcludeSourceInfo bool
Files []string
LimitToInputFiles bool
CheckerAll bool
CheckerCategories []string
ErrorFormat string
Format string
// contains filtered or unexported fields
}
Flags are flags for the buf CLI.
type RootCommandOption ¶ added in v0.4.0
RootCommandOption is an option for a root Command.
Click to show internal directories.
Click to hide internal directories.