MCPcopy Create free account
hub / github.com/ddev/ddev / init

Function init

cmd/ddev/cmd/debug-remote-data.go:231–237  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

229}
230
231func init() {
232 DebugRemoteDataCmd.Flags().StringVarP(&dataType, "type", "t", "remote-config", "Type of data to download (remote-config|sponsorship-data|addon-data)")
233 _ = DebugRemoteDataCmd.RegisterFlagCompletionFunc("type", configCompletionFunc([]string{"remote-config", "sponsorship-data", "addon-data"}))
234 DebugRemoteDataCmd.Flags().BoolVar(&updateStorage, "update-storage", true, "Update local cached storage file")
235 _ = DebugRemoteDataCmd.RegisterFlagCompletionFunc("update-storage", configCompletionFunc([]string{"true", "false"}))
236 DebugCmd.AddCommand(DebugRemoteDataCmd)
237}

Callers

nothing calls this directly

Calls 1

configCompletionFuncFunction · 0.85

Tested by

no test coverage detected