cs142/project2/node_modules/cli/examples/glob.js
2020-08-01 19:26:11 -03:00

6 lines
162 B
JavaScript
Executable File

#!/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);