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

'use strict'

var localw3c = require('./lib/localw3c');
var args = process.argv;

if(typeof args[2] != 'undefined'){
    var url = args[2];
    localw3c.init({
        localUrl : url
    });
    localw3c.exec();
}






<commit_msg>Added commander<commit_after>#!/usr/bin/env node

'use strict'

var localw3c = require('./lib/localw3c');
var program = require('commander');
const version = "1.0.0";


program.version(version)
    .option('-a, --all <url>', 'Validate links and html both');


program.parse(process.argv);

if(typeof program.all != 'undefined'){
    var url = program.all;
    localw3c.init({
        localUrl : url
    });
    localw3c.exec();
}








{'fraction_non_alphanumeric': 0.17588652482269504, 'fraction_numerical': 0.018439716312056736, 'mean_word_length': 3.0809248554913293, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, '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': '5229694', 'n_tokens_mistral': 268, 'n_tokens_neox': 254, 'n_words': 54}