MCPcopy
hub / github.com/caddyserver/caddy / Build

Method Build

cmd/commandfactory.go:22–28  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

20}
21
22func (f *rootCommandFactory) Build() *cobra.Command {
23 o := f.constructor()
24 for _, v := range f.options {
25 v(o)
26 }
27 return o
28}

Callers 2

TestCommandsAreAvailableFunction · 0.80
MainFunction · 0.80

Calls

no outgoing calls

Tested by 1

TestCommandsAreAvailableFunction · 0.64