()
| 133 | } |
| 134 | |
| 135 | func 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 | } |
nothing calls this directly
no test coverage detected