require('coffee-script');

// ---

['command', 'instance', 'list', 'machine', 'parse', 'show'].forEach(function (module) {
	exports[module] = require('./' + module + '.coffee');
});

require('coffee-script');

// ---

var fs = require('fs');
var path = require('path');

// ---

fs.readdirSync(__dirname).forEach(function(file) {
	var match = file.match(/^(.+?)\.coffee$/);
	
	if (!match) {
		return;
	}
	
	exports[match[1]] = require(path.join(__dirname, file));
});

Index now dynamically loads libraries.
Index now dynamically loads libraries.
