setAliases(['status']) ->setDescription('View the status of a set of migrations.') ->setHelp(<<%command.name% command outputs the status of a set of migrations: %command.full_name% EOT ); parent::configure(); } protected function execute(InputInterface $input, OutputInterface $output): int { $infosHelper = $this->getDependencyFactory()->getMigrationStatusInfosHelper(); $infosHelper->showMigrationsInfo($output); return 0; } }