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

var package = require("../package.json");
var path = require("path");
var fs = require("fs-extra");

var program = require("commander");
var prompt = require("prompt");
var args = process.argv.slice(2);

program
  .version(package.version, "-v, --version");

program
  .command("init")
  .description("Initialize test environment.")
  .action(init);

program.parse(process.argv);
!args.length && program.help();

function init() {
  prompt.colors = false;
  prompt.message = "";
  prompt.delimiter = "";
  prompt.start();

  var skelPath = path.join("..", "skel");
  var files = fs.readdirSync(skelPath);
  console.log("This will overwrite the ff. files and directories:", files);
  prompt.confirm("Do you want to continue?", function(err, ans) {
    if (ans) {
      fs.copySync(skelPath, ".");
      console.log("Done.");
    } else {
      console.log("Cancelled.");
    }
  });
}<commit_msg>updated skel directory path<commit_after>#!/usr/bin/env node

var package = require("../package.json");
var path = require("path");
var fs = require("fs-extra");

var program = require("commander");
var prompt = require("prompt");
var args = process.argv.slice(2);

program
  .version(package.version, "-v, --version");

program
  .command("init")
  .description("Initialize test environment.")
  .action(init);

program.parse(process.argv);
!args.length && program.help();

function init() {
  prompt.colors = false;
  prompt.message = "";
  prompt.delimiter = "";
  prompt.start();

  var skelPath = path.join(__dirname, "..", "skel");
  var files = fs.readdirSync(skelPath);
  console.log("This will overwrite the ff. files and directories:", files);
  prompt.confirm("Do you want to continue?", function(err, ans) {
    if (ans) {
      fs.copySync(skelPath, ".");
      console.log("Done.");
    } else {
      console.log("Cancelled.");
    }
  });
}
{'fraction_non_alphanumeric': 0.1881293057763646, 'fraction_numerical': 0.0010598834128245894, 'mean_word_length': 3.8040712468193383, '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': '2325263', 'n_tokens_mistral': 612, 'n_tokens_neox': 596, 'n_words': 141}