spoonjs
Version:
SpoonJS CLI tool
18 lines (15 loc) • 364 B
JavaScript
var Engine = require('../src/Engine'),
updateNotifier = require('update-notifier'),
notifier,
spooncli;
// Checks for available update
var notifier = updateNotifier({
packagePath: '../package'
});
if (notifier.update) {
notifier.notify();
}
// Initialize the engine
spooncli = new Engine(process.argv);
spooncli.parse();