code: protected function execute(InputInterface $input, OutputInterface $output): int
      {
          $this->framework->initialize();
  
          try {
              $this->runAutomator($input, $output);
          } catch (\InvalidArgumentException $e) {
              $output->writeln(sprintf('%s (see help contao:automator).', $e->getMessage()));
  
              return 1;
          }
  
          return 0;
      }
docs: {@inheritdoc}