'use strict';
var util = require('util');
var path = require('path');
var yeoman = require('yeoman-generator');


var YuiGenerator = module.exports = function YuiGenerator(args, options, config) {
  yeoman.generators.Base.apply(this, arguments);

  this.on('end', function () {
    this.installDependencies({ skipInstall: options['skip-install'] });
  });

  this.pkg = JSON.parse(this.readFileAsString(path.join(__dirname, '../package.json')));
};

util.inherits(YuiGenerator, yeoman.generators.Base);

YuiGenerator.prototype.askFor = function askFor() {
  var cb = this.async();

  // have Yeoman greet the user.
  console.log(this.yeoman);

  var prompts = [{
    type: 'confirm',
    name: 'someOption',
    message: 'Would you like to enable this option?',
    default: true
  }];

  this.prompt(prompts, function (props) {
    this.someOption = props.someOption;

    cb();
  }.bind(this));
};

YuiGenerator.prototype.app = function app() {
  this.mkdir('app');
  this.mkdir('app/templates');

  this.copy('_package.json', 'package.json');
  this.copy('_bower.json', 'bower.json');
};

YuiGenerator.prototype.projectfiles = function projectfiles() {
  this.copy('editorconfig', '.editorconfig');
  this.copy('jshintrc', '.jshintrc');
};

@@ -190,16 +190,18 @@
 nfig) %7B%0A
+  
   yeoman
@@ -238,24 +238,26 @@
 rguments);%0A%0A
+  
   this.on('e
@@ -275,24 +275,28 @@
 on () %7B%0A    
+  
+  
 this.install
@@ -351,16 +351,18 @@
 l'%5D %7D);%0A
+  
   %7D);%0A%0A 
@@ -358,24 +358,26 @@
 %0A    %7D);%0A%0A  
+ 
+ 
 this.pkg = J
@@ -561,16 +561,18 @@
 For() %7B%0A
+  
   var cb
@@ -589,16 +589,18 @@
 ync();%0A%0A
+  
   // hav
@@ -626,16 +626,18 @@
 user.%0A  
+ 
+ 
 console.
@@ -655,16 +655,18 @@
 oman);%0A%0A
+  
   var pr
@@ -680,16 +680,20 @@
  %5B%7B%0A    
+  
+  
 type: 'c
@@ -705,16 +705,20 @@
 m',%0A    
+   
+ 
 name: 's
@@ -729,16 +729,20 @@
 ption',%0A
+    
     mess
@@ -791,16 +791,20 @@
 ?',%0A    
+ 
+   
 default:
@@ -813,15 +813,19 @@
 rue%0A
+  
   %7D%5D;%0A%0A
+  
   th
@@ -858,24 +858,28 @@
 n (props) %7B%0A
+    
     this.som
@@ -907,16 +907,20 @@
 ption;%0A%0A
+    
     cb()
@@ -921,16 +921,18 @@
   cb();%0A
+  
   %7D.bind
@@ -996,27 +996,8 @@
 %7B%0A  
-this.mkdir('app');%0A
   th
@@ -1010,26 +1010,18 @@
 ir('
-app/templates
+src
 ');%0A%0A
+  
   th
@@ -1058,24 +1058,26 @@
 age.json');%0A
+  
   this.copy(
@@ -1174,16 +1174,18 @@
 les() %7B%0A
+  
   this.c
@@ -1222,16 +1222,18 @@
 nfig');%0A
+  
   this.c

Fix indentation in app/index.js