We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 98c06d7 commit dc16895Copy full SHA for dc16895
app/index.js
@@ -10,7 +10,8 @@ var wiredep = require('wiredep');
10
var AngularFullstackGenerator = yeoman.generators.Base.extend({
11
12
init: function () {
13
- this.appname = this.appname || path.basename(process.cwd());
+ this.argument('name', { type: String, required: false });
14
+ this.appname = this.name || path.basename(process.cwd());
15
this.appname = this._.camelize(this._.slugify(this._.humanize(this.appname)));
16
17
this.option('app-suffix', {
0 commit comments