GT2/Ejectable/node_modules/commondir/example/dir.js

4 lines
94 B
JavaScript

var commondir = require('../');
var dir = commondir(process.argv.slice(2));
console.log(dir);