#!/usr/bin/env coffee # # Command Line options = require('optimist') .default('message_type', 10) .default('ip', (process.env.IP ? 'localhost')) .default('port', 2013) .argv path = require('path') fs = require('fs') lib = path.join(path.dirname(fs.realpathSync(__filename)), '../lib') require("#{lib}/send")(options)