Documentation ¶
Index ¶
Constants ¶
View Source
const Version = "0.24.0"
Version is the version of buf.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type MainOption ¶ added in v0.21.0
type MainOption func(*mainOptions)
MainOption is an option for command construction.
func WithModuleReaderProvider ¶ added in v0.21.0
func WithModuleReaderProvider(moduleReaderProvider bufcli.ModuleReaderProvider) MainOption
WithModuleReaderProvider returns a new MainOption that uses the given ModuleReaderProvider.
func WithRootCommandModifier ¶ added in v0.21.0
func WithRootCommandModifier(rootCommandModifier func(*appcmd.Command, appflag.Builder, bufcli.ModuleReaderProvider)) MainOption
WithRootCommandModifier returns a new MainOption that modifies the root Command.
Click to show internal directories.
Click to hide internal directories.