<commit_before><commit_msg>Initial commit<commit_after><?php

/*
 * This file is part of the Yosymfony\Spress.
 *
 * (c) YoSymfony <http://github.com/yosymfony>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */
 
namespace Yosymfony\Spress\Command;
 
use Symfony\Component\Console\Command\Command;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;
use Symfony\Component\Console\Input\ArrayInput;

/**
 * Welcome to Spress command
 *
 * @author <NAME> <<EMAIL>>
 */
class WelcomeCommand extends Command
{
	protected function configure()
	{
		$this->setName('welcome')
            ->setDescription('Welcome to Spress message');
	}

	protected function execute(InputInterface $input, OutputInterface $output)
	{
        $output->writeln([
            '',
            $this->getSpressAsciiArt(),
            '',
            'Hola user and welcome!',
            '',
            'More information at <comment>http://spress.yosymfony.com</comment> or <comment>@spress_cms</comment> on Twitter',
            '',
        ]);

        $command = $this->getApplication()->find('list');

        $arguments = new ArrayInput([
            'command' => 'list',
        ]);
        $command->run($arguments, $output);
	}

    protected function getSpressAsciiArt()
    {
        return <<<EOF
             (                                 
     )\ )                              
    (()/(            (      (          
     /(_))    `  )   )(    ))\ (   (   
 __ (_))  __  /(/(  (()\  /((_))\  )\  
| _|/ __||_ |((_)_\  ((_)(_)) ((_)((_) 
| | \__ \ | || '_ \)| '_|/ -_)(_-<(_-< 
| | |___/ | || .__/ |_|  \___|/__//__/ 
|__|     |__||_|                       
EOF;
    }
}

{'fraction_non_alphanumeric': 0.16666666666666666, 'fraction_numerical': 0.0, 'mean_word_length': 1.9237012987012987, 'pattern_counts': {'":': 0, '<': 17, '<?xml version=': 0, '>': 19, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 3, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7051594', 'n_tokens_mistral': 566, 'n_tokens_neox': 549, 'n_words': 95}