<commit_before>#!/usr/bin/env node --harmony
var program = require('commander');

program.version('0.0.1')
	.command('start')
	.description('starts a simple server based on your config/server.yml')
	.action(function(){
		// console.log("action is starting");
		// console.log(process.cwd());
		var path = require('path').resolve(process.cwd()+'/index.js');
		// console.log(path);
		var TestApp = require(path);
		var App = new TestApp();
		App.start();
	})
program.parse(process.argv);
<commit_msg>fixing mdns using our own fork and making global koala-puree reading local koala-puree<commit_after>#!/usr/bin/env node --harmony
var program = require('commander');

program.version('0.0.1')
	.command('start')
	.description('starts a simple server based on your config/server.yml')
	.action(function(){
		// console.log("action is starting");
		// console.log(process.cwd());
		var path = require('path').resolve(process.cwd()+'/node_modules/.bin/koala-puree');
		if ( require('fs').existsSync(path) ) {
			var child = require('child_process').spawn(path, ["start"]);
		} else {
			path = require('path').resolve(process.cwd()+'/index.js');
			// console.log(path);
			var TestApp = require(path);
			var App = new TestApp();
			App.start();
		}
	})
program.parse(process.argv);

{'fraction_non_alphanumeric': 0.1931196247068022, 'fraction_numerical': 0.004691164972634871, 'mean_word_length': 4.355648535564853, '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': '186950', 'n_tokens_mistral': 457, 'n_tokens_neox': 424, 'n_words': 89}