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

const Server = require('../server');
const Muleify = require('../index.js');
const Commander = require('commander');
const Chalk = require('chalk');
const Path = require('path');

Commander
.version(process.env.npm_package_version)
.usage('<command> [options]');

Commander
.command('pack [path]')
.description('Generates, bundles, and compiles files')
// .option('-m, --min', 'Minifies html, css, js')
.action(function (path, command) {
	if (!path) path = process.cwd();
	if (!Path.isAbsolute(path)) path = Path.join(process.cwd(), path);

	console.log(Chalk.underline.cyan('\n\t\tThe Mule Is Serving\t\t\n'));

	var options = { min: command.min || false };

	Muleify.pack(path, options).then(function () {
		console.log(Chalk.green('\n\t\tMule Is Packed\t\t'));
	})
	.catch(function (error) {
		console.log(Chalk.red('\n\t\t' + error));
	});
});<commit_msg>adde static version cli<commit_after>#!/usr/bin/env node

const Server = require('../server');
const Muleify = require('../index.js');
const Commander = require('commander');
const Chalk = require('chalk');
const Path = require('path');

Commander
.version('1.1.1')
.usage('<command> [options]');

Commander
.command('pack [path]')
.description('Generates, bundles, and compiles files')
// .option('-m, --min', 'Minifies html, css, js')
.action(function (path, command) {
	if (!path) path = process.cwd();
	if (!Path.isAbsolute(path)) path = Path.join(process.cwd(), path);

	console.log(Chalk.underline.cyan('\n\t\tThe Mule Is Serving\t\t\n'));

	var options = { min: command.min || false };

	Muleify.pack(path, options).then(function () {
		console.log(Chalk.green('\n\t\tMule Is Packed\t\t'));
	})
	.catch(function (error) {
		console.log(Chalk.red('\n\t\t' + error));
	});
});
{'fraction_non_alphanumeric': 0.21734234234234234, 'fraction_numerical': 0.0016891891891891893, 'mean_word_length': 4.69551282051282, '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': '1593906', 'n_tokens_mistral': 649, 'n_tokens_neox': 639, 'n_words': 133}