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

/* eslint no-console: 0 */

const minimist   = require('minimist');
const staticI18n = require('../lib');

const minimistOptions = {
  boolean: ['replace', 'useAttr', 'removeAttr', 'fixPaths', 'translateConditionalComments', 'xml', 'version', 'help'],
  string: ['locale', 'selector', 'outputDir', 'outputDefault', 'outputOther', 'locales'],
  alias: {
    l: 'locale',
    i: 'locales',
    s: 'selector',
    d: 'baseDir',
    o: 'outputDir',
    v: 'version',
    h: 'help',
    'output-dir': 'outputDir',
    'base-dir': 'baseDir',
    'translate-conditional-comments': 'translateConditionalComments',
    f: 'fixPaths',
    t: 'fileFormat',
    'file-format': 'fileFormat',
    'fix-paths': 'fixPaths',
    'locales-path': 'localesPath',
    'output-override': 'outputOverride'<commit_msg>Add allow-html to minimist options<commit_after>#!/usr/bin/env node

/* eslint no-console: 0 */

const minimist   = require('minimist');
const staticI18n = require('../lib');

const minimistOptions = {
  boolean: [
    'replace',
    'useAttr',
    'removeAttr',
    'fixPaths',
    'translateConditionalComments',
    'xml',
    'allowHtml',
    'version',
    'help'
  ],
  string: [
    'locale',
    'selector',
    'outputDir',
    'outputDefault',
    'outputOther',
    'locales'
  ],
  alias: {
    l: 'locale',
    i: 'locales',
    s: 'selector',
    d: 'baseDir',
    o: 'outputDir',
    v: 'version',
    h: 'help',
    'output-dir': 'outputDir',
    'base-dir': 'baseDir',
    'translate-conditional-comments': 'translateConditionalComments',
    f: 'fixPaths',
    t: 'fileFormat',
    'file-format': 'fileFormat',
    'fix-paths': 'fixPaths',
    'locales-path': 'localesPath',
    'output-override': 'outputOverride',
    'allow-html': 'allowHtml'
{'fraction_non_alphanumeric': 0.1912994980479643, 'fraction_numerical': 0.0033463469046291134, 'mean_word_length': 3.462686567164179, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, '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': '7085340', 'n_tokens_mistral': 625, 'n_tokens_neox': 617, 'n_words': 130}