<commit_before>'use strict';

var InitGenerator;
var initHelpers = require('../lib/initgenerator.js');
var util        = require('util');
var path        = require('path');
var fs          = require('fs');
var yeoman      = require('yeoman-generator');

InitGenerator = module.exports = function InitGenerator(args, options, cnf) {
  var packageJsonPath;
  yeoman.generators.Base.apply(this, arguments);

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

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

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

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

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

  prompts = [{
    name: 'projectName',
    message: 'What is the name of your project?',
    default: 'My INIT project'
  },
  {
    name: 'name',
    message: 'What is your name?',
    default: '<NAME>'
  },
  {
    name: 'email',
    message: 'What is your email address? (otpional)'
  },
  {
    name: 'url',
    message: 'What is the url of your homepage? (otpional)'
  },
  {
    name: 'role',
    message: 'What is your role in this project? (optional)'
  },<commit_msg>Fix typo: optional instead of otpional<commit_after>'use strict';

var InitGenerator;
var initHelpers = require('../lib/initgenerator.js');
var util        = require('util');
var path        = require('path');
var fs          = require('fs');
var yeoman      = require('yeoman-generator');

InitGenerator = module.exports = function InitGenerator(args, options, cnf) {
  var packageJsonPath;
  yeoman.generators.Base.apply(this, arguments);

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

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

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

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

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

  prompts = [{
    name: 'projectName',
    message: 'What is the name of your project?',
    default: 'My INIT project'
  },
  {
    name: 'name',
    message: 'What is your name?',
    default: '<NAME>'
  },
  {
    name: 'email',
    message: 'What is your email address? (optional)'
  },
  {
    name: 'url',
    message: 'What is the url of your homepage? (optional)'
  },
  {
    name: 'role',
    message: 'What is your role in this project? (optional)'
  },
{'fraction_non_alphanumeric': 0.1527313266443701, 'fraction_numerical': 0.0, 'mean_word_length': 3.456953642384106, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1008032', 'n_tokens_mistral': 854, 'n_tokens_neox': 839, 'n_words': 225}