const generators = require('yeoman-generator')

module.exports = generators.Base.extend({
  constructor: function () {
    // Calling the super constructor is important so our generator is correctly set up
    generators.Base.apply(this, arguments)
    generators.sourceRoot('./template')

    // Next, add your custom code
    this.option('coffee'); // This method adds support for a `--coffee` flag
  },
  prompting: function () {
    var done = this.async();
    this.prompt({
      type    : 'input',
      name    : 'name',
      message : 'Project name',
      default : this.appname // Default to current folder name
    }, function (answers) {
      this.log(answers.name);
      done();
    }.bind(this));
  },
  method1: function () {
    console.log('method 1 just ran');
  },
  method2: function () {
    console.log('method 2 just ran');
  }
})

@@ -275,16 +275,11 @@
 ('./
-template
+kit
 ')%0A%0A

Replace template path