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

"use strict";

var fs = require("fs"),
    path = require("path"),
    vm = require("vm"),
    traceur = require("traceur"),
    nomnom = require("nomnom"),
    chalk = require("chalk"),
    spider = require("./lib/spider");

var opts = nomnom
  .option("files", {
    position: 0,
    help: "files to compile",
    list: true
  })
  .option("compile", {
    abbr: "c",
    flag: true,
    help: "compile to JavaScript and save as .js files"
  })
  .option("verbose", {
    abbr: "v",
    flag: true,
    help: "verbose mode"
  })
  .option("disable-source-map", {
    flag: true,
    help: "disable source map files (.map) generation"
  })
  .option("target", {
    choices: ["ES6", "ES5"],
    default: "ES5",
    help: "target"
  })
  .option("version", {
    flag: true,
    help: "display the version number",
    callback: function () {
      return "version " + require("./package.json").version;
    }
  })
  .parse();
  
var generateSourceMap = !opts['disable-source-map'] && opts.compile;<commit_msg>cli default behaviour<commit_after>#! /usr/bin/env node

"use strict";

var fs = require("fs"),
    path = require("path"),
    vm = require("vm"),
    traceur = require("traceur"),
    nomnom = require("nomnom"),
    chalk = require("chalk"),
    spider = require("./lib/spider");

var opts = nomnom
  .option("files", {
    position: 0,
    help: "files to compile",
    list: true
  })
  .option("compile", {
    abbr: "c",
    flag: true,
    help: "compile to JavaScript and save as .js files"
  })
  .option("verbose", {
    abbr: "v",
    flag: true,
    help: "verbose mode"
  })
  .option("disable-source-map", {
    flag: true,
    help: "disable source map files (.map) generation"
  })
  .option("target", {
    choices: ["ES6", "ES5"],
    default: "ES5",
    help: "target"
  })
  .option("version", {
    flag: true,
    help: "display the version number",
    callback: function () {
      return "version " + require("./package.json").version;
    }
  })
  .parse();

if (!opts.files) {
  console.log(nomnom.getUsage());
  process.exit(0);
}

var generateSourceMap = !opts['disable-source-map'] && opts.compile;
{'fraction_non_alphanumeric': 0.18804597701149425, 'fraction_numerical': 0.004137931034482759, 'mean_word_length': 2.858156028368794, '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': '5534397', 'n_tokens_mistral': 747, 'n_tokens_neox': 743, 'n_words': 185}