glob.js 162 Bytes Raw Blame History Permalink 1 2 3 4 5 6 #!/usr/bin/env node var cli = require('cli').enable('glob'); //Running `./glob.js *.js` will output a list of .js files in this directory console.log(cli.args);