addArgument('job_id', InputArgument::REQUIRED, 'Job ID to be executed'); } public function execute(InputInterface $input, OutputInterface $output) { $io = new SymfonyStyle($input, $output); $job_id = $input->getArgument('job_id'); $job = $this->service->get($job_id); if ($this->service->run($job)) { $io->success('Success'); } else { $io->error('Failed'); } return Command::SUCCESS; } }