protected function configure(): void
{ } protected function execute(InputInterface
$input, OutputInterface
$output): int
{ $io =
new ShopwareStyle($input,
$output);
$context = Context::
createDefaultContext();
$count =
$this->deleteUnusedGuestCustomerService->
countUnusedCustomers($context);
if ($count === 0
) { $io->
comment('No unused guest customers found.'
);
return self::SUCCESS;
} $confirm =
$io->
confirm( \
sprintf('Are you sure that you want to delete %d guest customers?',
$count),
false
);