()
| 229 | } |
| 230 | |
| 231 | func 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 | } |
nothing calls this directly
no test coverage detected