<commit_before>#!/usr/bin/env php

<?php
require dirname(__FILE__) . '/vendor/autoload.php';

use Movim\Bootstrap;
use Movim\Console\DaemonCommand;
use Movim\Console\ConfigCommand;
use Symfony\Component\Console\Application;

$bootstrap = new Bootstrap;
$bootstrap->boot();

$application = new Application;
$application->add(new DaemonCommand);
$application->add(new ConfigCommand);
$application->run();
<commit_msg>Fix #658<commit_after>#!/usr/bin/env php

<?php

require dirname(__FILE__) . '/vendor/autoload.php';

use Movim\Bootstrap;
use Movim\Console\DaemonCommand;
use Movim\Console\ConfigCommand;
use Symfony\Component\Console\Application;

$bootstrap = new Bootstrap;
$bootstrap->boot($argv[1] == 'help');

$application = new Application;
$application->add(new ConfigCommand);
$application->add(new DaemonCommand);
$application->run();

{'fraction_non_alphanumeric': 0.15402843601895735, 'fraction_numerical': 0.004739336492890996, 'mean_word_length': 6.752293577981652, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 11, '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': '4276802', 'n_tokens_mistral': 276, 'n_tokens_neox': 267, 'n_words': 54}