daux.io/libs/Console/Application.php
2016-07-29 23:21:19 +02:00

16 lines
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');
}
}