setName('security:certificates:remove') ->setDescription('remove trusted certificate') ->addArgument( 'name', InputArgument::REQUIRED, 'the file name of the certificate to remove' ); } protected function execute(InputInterface $input, OutputInterface $output): int { $name = $input->getArgument('name'); $this->certificateManager->removeCertificate($name); return 0; } }