<commit_before>'use strict';
var yeoman = require('yeoman-generator');
var chalk = require('chalk');
var yosay = require('yosay');

module.exports = yeoman.Base.extend({


  prompting: function () {
    var done = this.async();

    // Have Yeoman greet the user.
    this.log(yosay(
      'Welcome to the ' + chalk.red('seneca-environment') + ' generator!'
    ));

    var prompts = [{
      type: 'list',
      name: 'generator',
      message: 'What do you want?',
      default: 'system',
      choices: [
        {name: 'system', value: 'system'},
        {name: 'base only', value: 'base'},
        {name: 'service only', value: 'service'}]
    }];

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

      if (this.props.generator === 'service') {
        this.composeWith('seneca-environment:service');
      } else if (this.props.generator === 'base') {
        this.composeWith('seneca-environment:base');
      } else {
        this.composeWith('seneca-environment:service');
        this.composeWith('seneca-environment:base');
      }

      done();
    }.bind(this));
  },

  writing: function () {
    // this.fs.copy(
    //   this.templatePath('dummyfile.txt'),
    //   this.destinationPath('dummyfile.txt')
    // );
  },

  install: function () {
    // this.installDependencies();
  }
});<commit_msg>codestyle (indent)<commit_after>'use strict';
var yeoman = require('yeoman-generator');
var chalk = require('chalk');
var yosay = require('yosay');

module.exports = yeoman.Base.extend({


    prompting: function () {
        var done = this.async();

        // Have Yeoman greet the user.
        this.log(yosay(
            'Welcome to the ' + chalk.red('seneca-environment') + ' generator!'
        ));

        var prompts = [{
            type: 'list',
            name: 'generator',
            message: 'What do you want?',
            default: 'system',
            choices: [
                {name: 'system', value: 'system'},
                {name: 'base only', value: 'base'},
                {name: 'service only', value: 'service'}]
        }];

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

            if (this.props.generator === 'service') {
                this.composeWith('seneca-environment:service');
            } else if (this.props.generator === 'base') {
                this.composeWith('seneca-environment:base');
            } else {
                this.composeWith('seneca-environment:service');
                this.composeWith('seneca-environment:base');
            }

            done();
        }.bind(this));
    },

    writing: function () {
        // this.fs.copy(
        //   this.templatePath('dummyfile.txt'),
        //   this.destinationPath('dummyfile.txt')
        // );
    },

    install: function () {
        // this.installDependencies();
    }
});
{'fraction_non_alphanumeric': 0.16660881638320027, 'fraction_numerical': 0.0, 'mean_word_length': 2.0659574468085107, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '5735509', 'n_tokens_mistral': 870, 'n_tokens_neox': 829, 'n_words': 169}