if ($input->
getOption('shop-currency'
)) { if (!
$input->
getOption('no-interaction'
)) { if (!
$output->
confirm('Changing the shops default currency after the fact can be destructive. Are you sure you want to continue', false
)) { $output->
writeln('Aborting due to user input'
);
return (int) Command::SUCCESS;
} } $this->shopConfigurator->
setDefaultCurrency($input->
getOption('shop-currency'
));
$output->
writeln('Successfully changed shop default currency'
);
$output->
writeln(''
);
} $this->cacheClearer->
clear();
return (int) Command::SUCCESS;
}}