16 regels
403 B
PHP
16 regels
403 B
PHP
<?php namespace Todaymade\Daux\Console;
|
|
|
|
use Symfony\Component\Console\Application as SymfonyApplication;
|
|
|
|
class Application extends SymfonyApplication
|
|
{
|
|
public function __construct($name = 'UNKNOWN', $version = 'UNKNOWN')
|
|
{
|
|
parent::__construct($name, $version);
|
|
|
|
$this->add(new Generate());
|
|
$this->add(new Serve());
|
|
$this->setDefaultCommand('generate');
|
|
}
|
|
}
|