UNPKG

aq-web-front

Version:

A compilation framework to allow coding web frontends in a modern style.

15 lines (13 loc) 315 B
var steps = { auto: './auto', init: './init', jsc: './jsc' }; var args = require('yargs').argv; var command = args._[0] || 'auto'; var op = require(steps[command]); if (typeof op == 'function') { op(function(){}, args); } else { console.log(command, 'is not a valid command'); }