#!/usr/bin/env node var program = require('commander'); program .command('create ') .option('-n, --native', 'Native') .action(function (name, cmd) { console.log('create ' + name + (cmd.native ? ' native' : 'js')) require('./scripts/init')(name) }) program .command('dev') .action(function () { require('./scripts/watcher') }) program.parse(process.argv)