wbyoung/jsi-blowtorch

View on GitHub
bin/blowtorch

Summary

Maintainability
Test Coverage
#!/usr/bin/env node

'use strict';

var program = require('commander');
var lib = require('lib');

program
  .version(require('package.json').version)
  .parse(process.argv);

if (program.args.length !== 2) {
  program.help();
}

lib.generate(program.args[0], program.args[1], function(err) {
  if (err) {
    process.exit(1);
  }
});