- $tableHeader =[
- $this->trans('commands.site.debug.messages.site'),
- ];
-
- $io->table($tableHeader, $sites);
+ foreach ($sites as $key => $site) {
+ $environments = array_keys($site);
+ unset($environments[0]);
+
+ $environments = array_map(
+ function ($element) use ($key) {
+ return $key . '.' . $element;
+ },
+ $environments
+ );
+
+ $this->getIo()->info($key);
+ $this->getIo()->listing($environments);
+ }