add minimenu

This commit is contained in:
Tomas Votruba 2018-08-01 17:08:51 +02:00
parent a079a29f6b
commit 9c060dfd15

View File

@ -46,13 +46,21 @@ final class GenerateRectorOverviewCommand extends Command
$this->consoleStyle->writeln('# All Rectors Overview');
$this->consoleStyle->newLine();
// @todo menu to project + general rectors
$this->consoleStyle->writeln('- [Projects](#projects)');
$this->consoleStyle->writeln('- [General](#general)');
$this->consoleStyle->newLine();
$this->consoleStyle->writeln('## Projects');
$this->consoleStyle->newLine();
$rectorsByGroup = $this->groupRectors($this->getProjectsRectors());
$this->printRectorsByGroup($rectorsByGroup);
$this->consoleStyle->writeln('---');
$this->consoleStyle->writeln('## General');
$this->consoleStyle->newLine();
$rectorsByGroup = $this->groupRectors($this->getGeneralRectors());
$this->printRectorsByGroup($rectorsByGroup);
@ -139,6 +147,8 @@ final class GenerateRectorOverviewCommand extends Command
$rectorsByGroup[$rectorGroup][] = $rector;
}
ksort($rectorsByGroup);
return $rectorsByGroup;
}