MCPcopy Index your code
hub / github.com/ddev/ddev / init

Function init

cmd/ddev/cmd/debug-rebuild.go:135–141  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

133}
134
135func init() {
136 DebugCmd.AddCommand(DebugRebuildCmd)
137 DebugRebuildCmd.Flags().BoolVarP(&buildAll, "all", "a", false, "Rebuild all services and restart the project")
138 DebugRebuildCmd.Flags().Bool("cache", false, "Keep Docker cache")
139 DebugRebuildCmd.Flags().StringVarP(&service, "service", "s", "web", "Rebuild the specified service and restart it")
140 _ = DebugRebuildCmd.RegisterFlagCompletionFunc("service", ddevapp.GetServiceNamesFunc(false))
141}

Callers

nothing calls this directly

Calls 1

GetServiceNamesFuncFunction · 0.92

Tested by

no test coverage detected