for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace Thruster\Tool\ProjectGenerator\Console;
use Symfony\Component\Console\Application as BaseApplication;
use Thruster\Tool\ProjectGenerator\Console\Command\CreateRepoCommand;
use Thruster\Tool\ProjectGenerator\Console\Command\EnableCICommand;
use Thruster\Tool\ProjectGenerator\Console\Command\GenerateCommand;
/**
* Class Application.
*
* @author Aurimas Niekis <[email protected]>
*/
class Application extends BaseApplication
{
* {@inheritdoc}
public function __construct()
error_reporting(-1);
parent::__construct('Thruster Project Generator', '1.0');
$this->add(new GenerateCommand());
$this->add(new CreateRepoCommand());
$this->add(new EnableCICommand());
$this->setDefaultCommand('main');
}
public function getLongVersion()
$version = parent::getLongVersion() .
' by <comment>Aurimas Niekis</comment>';
return $version;