Carew\Command\Build::execute PHP Method

execute() public method

public execute ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output )
$input Symfony\Component\Console\Input\InputInterface
$output Symfony\Component\Console\Output\OutputInterface
    public function execute(InputInterface $input, OutputInterface $output)
    {
        $builder = $this->getApplication()->getBuilder();
        $verbosityLevelMap = array(LogLevel::NOTICE => OutputInterface::VERBOSITY_NORMAL, LogLevel::INFO => OutputInterface::VERBOSITY_VERBOSE);
        $builder->setLogger(new ConsoleLogger($output, $verbosityLevelMap));
        $builder->build($input->getOption('base-dir'), $input->getOption('web-dir'), $input->getOption('all'));
    }