2015-07-23 17:44:24 +02:00
|
|
|
<?php namespace Todaymade\Daux\Console;
|
2015-07-14 22:06:01 +02:00
|
|
|
|
|
|
|
use Symfony\Component\Console\Application as SymfonyApplication;
|
|
|
|
use Symfony\Component\Console\Input\InputInterface;
|
|
|
|
|
|
|
|
class Application extends SymfonyApplication
|
|
|
|
{
|
2016-07-29 07:58:48 +02:00
|
|
|
public function __construct($name = 'UNKNOWN', $version = 'UNKNOWN') {
|
|
|
|
parent::__construct($name, $version);
|
2015-07-14 22:06:01 +02:00
|
|
|
|
2016-07-29 07:58:48 +02:00
|
|
|
$this->add(new Generate());
|
|
|
|
$this->add(new Serve());
|
|
|
|
$this->setDefaultCommand('generate');
|
2015-07-14 22:06:01 +02:00
|
|
|
}
|
|
|
|
}
|