<commit_before>var fs = require('fs')
var _ = require('underscore')._
var winston = require('winston')

var filesizereport = require('./report')

var optimist = require('optimist')
    .options('output', {
        alias: 'o'
        , 'default': 'output/report.json'
        , describe: 'Output JSON file name.'
    })
    .options('path', {
        alias: 'p'
        , 'default': 'output'
        , describe: 'Folder path.'
    })

var argv = optimist.argv
var opts = _.extend({}, argv)

winston.remove(winston.transports.Console)
winston.add(winston.transports.Console, {
    colorize: true
    , level: argv.log
    , handleExceptions: false
})<commit_msg>changed default paths<commit_after>var fs = require('fs')
var _ = require('underscore')._
var winston = require('winston')

var filesizereport = require('./report')

var optimist = require('optimist')
    .options('output', {
        alias: 'o'
        , 'default': './report.json'
        , describe: 'Output JSON file name.'
    })
    .options('path', {
        alias: 'p'
        , 'default': './'
        , describe: 'Folder path.'
    })

var argv = optimist.argv
var opts = _.extend({}, argv)

winston.remove(winston.transports.Console)
winston.add(winston.transports.Console, {
    colorize: true
    , level: argv.log
    , handleExceptions: false
})
{'fraction_non_alphanumeric': 0.16148597422289612, 'fraction_numerical': 0.0, 'mean_word_length': 2.9520958083832336, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '2023427', 'n_tokens_mistral': 430, 'n_tokens_neox': 415, 'n_words': 95}