15 lines
316 B
JavaScript
Executable File
15 lines
316 B
JavaScript
Executable File
#!/usr/bin/env node
|
|
|
|
try {
|
|
eval('let __nodeTest = 123;');
|
|
} catch(e) {
|
|
if (e.name === 'SyntaxError') {
|
|
console.error("unsupported version of NodeJS. Make sure you are running nodejs 6.9.5 or above");
|
|
process.exit();
|
|
}
|
|
}
|
|
|
|
var Cmd = require('../lib/cmd');
|
|
var cli = new Cmd();
|
|
cli.process(process.argv);
|