<?php
namespace League\Geotools\CLI;
use League\Geotools\CLI\Output\ConsoleOutput;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;
use Symfony\Component\Console\Application;
class GeotoolsApplication extends Application
{
private $logo = '
________ __ .__
/ _____/ ____ _____/ |_ ____ ____ | | ______
/ \ ____/ __ \/ _ \ __\/ _ \ / _ \| | / ___/
\ \_\ \ ___( <_> ) | ( <_> | <_> ) |__\___ \
\______ /\___ >____/|__| \____/ \____/|____/____ >
\/ \/ \/
';
public function getHelp(): string
{
return $this->logo . parent::getHelp();
}
public function run(?InputInterface $input = null, ?OutputInterface $output = null): int
{
return parent::run($input, new ConsoleOutput);
}
}