Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

executable file 14 lines (11 sloc) 0.336 kB
#!/usr/bin/env node
var nodehook = require('../');
if(process.argv.length < 4) {
console.log('Usage: ./nodehook port cmd');
console.log('Example: ./nodehook 8855 ./deploy.sh');
console.log('Example: ./nodehook 8855 ls -al');
process.exit();
}
nodehook.port = process.argv[2];
nodehook.cmd = process.argv[3];
nodehook.start();
Jump to Line
Something went wrong with that request. Please try again.