<commit_before><?php

namespace Dan\MainBundle\Command;

use Symfony\Bundle\FrameworkBundle\Command\ContainerAwareCommand;
use Symfony\Component\Console\Input\InputArgument;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;


class RefreshGamesCommand extends ContainerAwareCommand
{
    protected function configure()
    {
        $this
            ->setName('ventoonirico:games:refresh')
            ->setDescription('Refresh the local game repository')
        ;
    }

    protected function execute(InputInterface $input, OutputInterface $output)
    {
        $container = $this->getContainer();

        $gameManager = $container->get('model.manager.game');
        $gameManager->refreshGames();
        $output->writeln('DONE');
    }
}
<commit_msg>added a log to refresh command<commit_after><?php

namespace Dan\MainBundle\Command;

use Symfony\Bundle\FrameworkBundle\Command\ContainerAwareCommand;
use Symfony\Component\Console\Input\InputArgument;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;


class RefreshGamesCommand extends ContainerAwareCommand
{
    protected function configure()
    {
        $this
            ->setName('ventoonirico:games:refresh')
            ->setDescription('Refresh the local game repository')
        ;
    }

    protected function execute(InputInterface $input, OutputInterface $output)
    {
        $container = $this->getContainer();
        $logger = $container->get('logger');

        $gameManager = $container->get('model.manager.game');
        $gameManager->refreshGames();
        $logger->info('REFRESH GAMES');
        $output->writeln('DONE');
    }
}

{'fraction_non_alphanumeric': 0.11560693641618497, 'fraction_numerical': 0.0, 'mean_word_length': 3.5915119363395225, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 17, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5557436', 'n_tokens_mistral': 468, 'n_tokens_neox': 460, 'n_words': 83}