Classes/Console/Command/UpgradeCommandController.php
public function listCommand($all = false)
    {
        $verbose = $this->output->getSymfonyConsoleOutput()->isVerbose();
        $messages = [];
        $wizards = $this->upgradeHandling->executeInSubProcess('listWizards', [], $messages);

        $listRenderer = new UpgradeWizardListRenderer();
        $this->outputLine('<comment>Wizards scheduled for execution:</comment>');
        $listRenderer->render($wizards['scheduled'], $this->output, $verbose);

        if ($all) {
            $this->outputLine(PHP_EOL . '<comment>Wizards marked as done:</comment>');
            $listRenderer->render($wizards['done'], $this->output, $verbose);
        }
        $this->outputLine();
        foreach ($messages as $message) {
            $this->outputLine($message);
        }
    }
public function listCommand($all = false)
    {
        $verbose = $this->output->getSymfonyConsoleOutput()->isVerbose();
        $messages = [];
        $wizards = $this->upgradeHandling->executeInSubProcess('listWizards', [], $messages);

        $listRenderer = new UpgradeWizardListRenderer();
        $this->outputLine('<comment>Wizards scheduled for execution:</comment>');
        $listRenderer->render($wizards['scheduled'], $this->output, $verbose);

        if ($all) {
            $this->outputLine(PHP_EOL . '<comment>Wizards marked as done:</comment>');
            $listRenderer->render($wizards['done'], $this->output, $verbose);
        }
        $this->outputLine();
        foreach ($messages as $message) {
            $this->outputLine($message);
        }
    }
List upgrade wizards

@param bool $all If set, all wizards will be listed, even the once marked as ready or done