#!/usr/bin/env node
var Decking, colors, d, domain, options;

domain = require("domain");

colors = require("colors");

Decking = require("../index.coffee");

options = {
  command: process.argv[2],
  args: process.argv.slice(3)
};

d = domain.create();

d.on("error", function(e) {
  return console.log(e.stack.red);
});

d.run(function() {
  return setImmediate(function() {
    var decking;
    decking = new Decking(options);
    return decking.execute();
  });
});

#!/usr/bin/env node
var Decking, colors, d, domain, options;

domain = require("domain");

colors = require("colors");

Decking = require("../index");

options = {
  command: process.argv[2],
  args: process.argv.slice(3)
};

d = domain.create();

d.on("error", function(e) {
  return console.log(e.stack.red);
});

d.run(function() {
  return setImmediate(function() {
    var decking;
    decking = new Decking(options);
    return decking.execute();
  });
});

correct JS path reference