Just a simple wrapper to scaffold angular stuff in my setup.
var args = require('yargs').argv;
var gulp = require('gulp');
var ngenerate = require('angular-generator');
gulp.task('g', function() {
var c = new ngenerate({
base: './tmp',
test: './test',
appname: 'super'
});
if(args.type) {
c.scaffold(args.type, args.name);
}
});
gulp g --type c mymodule:mycontroller
m
= complete modulec
= controllert
= templatep
= providerd
= directive