$this->
addOption('skip', null, InputArgument::OPTIONAL, 'Comma separated list of entity names to be skipped'
);
$this->
addOption('only', null, InputArgument::OPTIONAL, 'Comma separated list of entity names to be generated'
);
} protected function execute(InputInterface
$input, OutputInterface
$output): int
{ $this->io =
new ShopwareStyle($input,
$output);
$skip = \
is_string($input->
getOption('skip'
)) ?
explode(',',
$input->
getOption('skip'
)) :
[];
$only = \
is_string($input->
getOption('only'
)) ?
explode(',',
$input->
getOption('only'
)) :
[];
$this->registry->
iterate( new AdminIndexingBehavior( (bool) $input->
getOption('no-queue'
),
$skip,
$only ) );
return self::SUCCESS;
}}