/** * {@inheritdoc} */ protected function execute(InputInterface $input, OutputInterface $output) { $io = new DrupalStyle($input, $output); $group = $input->getArgument('group'); if (!$group) { $groups = $this->getAllBreakpoints(); $tableHeader = [$this->trans('commands.breakpoints.debug.messages.name')]; $io->table($tableHeader, $groups, 'compact'); } else { $breakPointData = $this->getBreakpointByName($group); foreach ($breakPointData as $key => $breakPoint) { $io->comment($key); $io->writeln(Yaml::encode($breakPoint)); } } }