UNPKG

291 BJavaScriptView Raw
1#!/usr/bin/env node
2'use strict'
3
4var gen = require('../index')
5 , argv = require('minimist')(process.argv.slice(2))
6 , type = argv.t || argv.type || 'backbone'
7
8gen({target: argv._[0], type: type}, function (context) {
9 console.log('created the ' + context.PascalName + ' component')
10})