minimist的用法
npm install minimist --save 后,
#!/usr/bin/env node
var parseArgs = require('minimist')(process.argv.slice(2));
console.log(parseArgs); //=> { _: [ 'gsky' ], drunk: true }
var index = require('/home/vagrant/greet');
console.log(index(parseArgs._,parseArgs.drunk));