<commit_before><?php
/** @var $ctrl \bbn\mvc\ctrl */

use bbn\X;

X::adump('Hello from the updater...');
$appui = new \bbn\Appui();
$pref = new \bbn\User\Preferences($appui->getDb());
$perm = new \bbn\User\Permissions();
if ($res = $appui->updateMenus()) {
  echo $res . _('menus changed');
}<commit_msg>Added updated cli<commit_after><?php
/** @var $ctrl \bbn\mvc\ctrl */

use bbn\X;

X::adump('Hello from the updater...');
$appui = new \bbn\Appui();
$pref = new \bbn\User\Preferences($appui->getDb());
$perm = new \bbn\User\Permissions();
if ($res = $appui->updateDashboard()) {
  echo $res . _('changes made') . PHP_EOL;
}
{'fraction_non_alphanumeric': 0.2352, 'fraction_numerical': 0.0, 'mean_word_length': 4.131147540983607, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, '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': '6496970', 'n_tokens_mistral': 247, 'n_tokens_neox': 250, 'n_words': 55}