for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Queryr\Replicator\Cli\Command;
use Queryr\Replicator\Cli\Install\InstallCommandExecutor;
use Symfony\Component\Console\Command\Command;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;
/**
* @licence GNU GPL v2+
* @author Jeroen De Dauw < [email protected] >
*/
class InstallCommand extends Command {
protected function configure() {
$this->setName( 'install' );
$this->setDescription( 'Installs QueryR Replicator using the database details listed in config/db.json' );
}
protected function execute( InputInterface $input, OutputInterface $output ) {
$executor = new InstallCommandExecutor( $input, $output );
$executor->run();