code: public function execute(InputInterface $input, OutputInterface $output)
      {
          parent::execute($input, $output);
  
          $action = $this->registry->get($input->getArgument('name'));
  
          if (!$action instanceof AbstractAction) {
              throw new \Exception(sprintf('Expected action, got %s', get_class($action)));
          }
  
          if ($action instanceof RegistryAwareInterface) {
              $action->setRegistry($this->registry);
          }
  
          $response = $action->execute($input->getArgument('arguments'));
  
          $output->writeln('RESPONSE METADATA');
          $output->writeln(sprintf('<info>Type</info>: %s', gettype($response)));
  
          $output->writeln('RESPONSE DATA');
          if (!is_callable(array($response, '__toString'))) {
              $response = serialize($response);
          }
          $output->writeln((string) $response);
  
          $output->writeln('EXTRA DATA');
          foreach ($action->getExtraData() as $key => $value) {
              $output->writeln(sprintf('<info>%s</info>: %s', $key, $value));
          }
      }
docs: {@inheritdoc}