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


var DrupalBootstrapThemeGenerator = module.exports = function DrupalBootstrapThemeGenerator(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(DrupalBootstrapThemeGenerator, yeoman.generators.Base);

DrupalBootstrapThemeGenerator.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));
};

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

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

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

@@ -726,109 +726,782 @@
  = %5B
+%0A    
 %7B%0A    
-type: 'confirm',%0A    name: 'someOption',%0A    message: 'Would you like to enable this option?',%0A
+  name: 'themeName',%0A      message: 'What would you like to call your theme?'%0A    %7D,%0A    %7B%0A      name: 'themeDescription',%0A      message: 'Please provide a description for your theme'%0A    %7D,%0A    %7B%0A      name: 'themeDrupalVersion',%0A      type: 'list',%0A      message: 'What version of Drupal does this theme require?',%0A      choices: %5B%0A        %7B%0A          name: 'Drupal 7',%0A          value: '7'%0A        %7D%0A      %5D,%0A      default: 0%0A    %7D,%0A    %7B%0A      name: 'themeUsesLESS',%0A      message: 'Do you want to use super awesome LESS instead of plain old CSS?',%0A      type: 'confirm',%0A      default: true%0A    %7D,%0A    %7B%0A      name: 'themeUsesCoffee',%0A      message: 'Do you want to use super aweseom Coffee Script instead of plain old Javascript?',%0A      type: 'confirm',%0A  
     
@@ -1516,17 +1516,22 @@
  true%0A  
-%7D
+  %7D%0A  
 %5D;%0A%0A  th

Add our prompts