<commit_before>/*
 * Copyright (c) 2011-2012, Yahoo! Inc.  All rights reserved.
 * Copyrights licensed under the New BSD License.
 * See the accompanying LICENSE file for terms.
 */


/*jslint anon:true, sloppy:true, regexp:true, nomen:true*/


var fs = require('fs'),
    path = require('path'),
    utils = require('../utils'),
    usage = 'mojito jslint [app | mojit] [<name>]',
    options = [
        {
            shortName: 'p',
            longName: 'print',
            hasValue: false
        }
    ];


// ---------- Generic file system utilities ----------


/*
 * A version of fs.mkdirSync that ensures that all intermediate directories
 * are created.
 */
function mkdirsSync(dir, mode) {<commit_msg>Add --print option to usage message<commit_after>/*
 * Copyright (c) 2011-2012, Yahoo! Inc.  All rights reserved.
 * Copyrights licensed under the New BSD License.
 * See the accompanying LICENSE file for terms.
 */


/*jslint anon:true, sloppy:true, regexp:true, nomen:true*/


var fs = require('fs'),
    path = require('path'),
    utils = require('../utils'),
    usage = 'mojito jslint [app | mojit] [<name>] {options}\n' +
            '\nOPTIONS: \n' +
            '\t  --print      :  print results to stdout \n' +
            '\t   -p          :  short for --print\n',
    options = [
        {
            shortName: 'p',
            longName: 'print',
            hasValue: false
        }
    ];


// ---------- Generic file system utilities ----------


/*
 * A version of fs.mkdirSync that ensures that all intermediate directories
 * are created.
 */
function mkdirsSync(dir, mode) {
{'fraction_non_alphanumeric': 0.15518311607697083, 'fraction_numerical': 0.009931719428926133, 'mean_word_length': 2.0822179732313577, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '2387970', 'n_tokens_mistral': 509, 'n_tokens_neox': 472, 'n_words': 154}