mirror of
https://github.com/restoreddev/phpapprentice.git
synced 2025-10-25 20:06:05 +02:00
25 lines
584 B
PHP
25 lines
584 B
PHP
<?php
|
|
|
|
namespace Apprentice\Command;
|
|
|
|
use Apprentice\Build;
|
|
use Symfony\Component\Console\Command\Command;
|
|
use Symfony\Component\Console\Input\InputInterface;
|
|
use Symfony\Component\Console\Output\OutputInterface;
|
|
|
|
class BuildCommand extends Command
|
|
{
|
|
protected function configure()
|
|
{
|
|
$this->setName('build')
|
|
->setDescription('Builds PHP templates into HTML files.')
|
|
->setHelp('Help!');
|
|
}
|
|
|
|
protected function execute(InputInterface $input, OutputInterface $output)
|
|
{
|
|
$build = new Build;
|
|
$build->buildAll();
|
|
}
|
|
}
|