/**
* @param Application $application
* @param Container $services
*/
public function __construct(Application $application, Container $services = null)
{
$application->setName('Samurai console');
$application->setVersion('0.0.0');
$this->setApplication($application);
$this->setServices($services ?: $this->buildServices());
$this->initCommands();
}