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