for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Peridot\WebDriverManager\Console;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;
/**
* CleanCommand is used to remove everything from the manager install path.
*
* @package Peridot\WebDriverManager\Console
*/
class CleanCommand extends AbstractManagerCommand
{
protected function configure()
$this
->setName('clean')
->setDescription('Delete contents of installation directory');
}
* @param InputInterface $input
* @param OutputInterface $output
* @return int|null|void
protected function execute(InputInterface $input, OutputInterface $output)
$output->writeln('<info>Deleting installed binaries...</info>');
$this->manager->clean();
$output->writeln('<info>Installation directory cleaned</info>');
return 0;