setAliases(['sync-metadata-storage']) ->setDescription('Ensures that the metadata storage is at the latest version.') ->setHelp(<<%command.name% command updates metadata storage the latest version. %command.full_name% EOT ); } public function execute( InputInterface $input, OutputInterface $output ): int { $this->getDependencyFactory()->getMetadataStorage()->ensureInitialized(); $this->io->success('Metadata storage synchronized'); return 0; } }