function askForUserInput() {
    if (this.isSubGenerator)
        return;
    const done = this.async();

    this.prompt([
        {
            type: 'editor',
            name: 'frequencyUserInput',
            message: 'Your input to create the Frequency Object',
            validate: this.createValidationFunction('frequency'),
            store: true
        },
        {
            type: 'editor',
            name: 'likelihoodUserInput',
            message: 'Your input to create the Likelihood Object',
            validate: this.createValidationFunction('likelihood'),
            store: true
        },
        {
            type: 'editor',
            name: 'categoryUserInput',
            message: 'Your input to create the Category dependent Objects',
            validate: this.createValidationFunction('category'),
            store: true
        }

    ]).then((answer) => {
        this.frequencyUserInput = answer.frequencyUserInput;
        this.categoryUserInput = answer.categoryUserInput;
        this.likelihoodUserInput = answer.likelihoodUserInput;
        done();
    });


}
/**
 * Ask for essential user input: categories, likelihood and frequency
 */
Ask for essential user input: categories, likelihood and frequency
Ask for essential user input : categories likelihood and frequency
function askForUserInput() {
    if (this.isSubGenerator)
        return;
    const done = this.async();
    this.prompt([
        {
            type: 'editor',
            name: 'frequencyUserInput',
            message: 'Your input to create the Frequency Object',
            validate: this.createValidationFunction('frequency'),
            store: true
        },
        {
            type: 'editor',
            name: 'likelihoodUserInput',
            message: 'Your input to create the Likelihood Object',
            validate: this.createValidationFunction('likelihood'),
            store: true
        },
        {
            type: 'editor',
            name: 'categoryUserInput',
            message: 'Your input to create the Category dependent Objects',
            validate: this.createValidationFunction('category'),
            store: true
        }
    ]).then((answer) => {
        this.frequencyUserInput = answer.frequencyUserInput;
        this.categoryUserInput = answer.categoryUserInput;
        this.likelihoodUserInput = answer.likelihoodUserInput;
        done();
    });
}
function askForUserInput ( ) { if ( this . isSubGenerator ) return ; const done = this . async ( ) ; this . prompt ( [ { type : 'editor' , name : 'frequencyUserInput' , message : 'Your input to create the Frequency Object' , validate : this . createValidationFunction ( 'frequency' ) , store : true } , { type : 'editor' , name : 'likelihoodUserInput' , message : 'Your input to create the Likelihood Object' , validate : this . createValidationFunction ( 'likelihood' ) , store : true } , { type : 'editor' , name : 'categoryUserInput' , message : 'Your input to create the Category dependent Objects' , validate : this . createValidationFunction ( 'category' ) , store : true } ] ) . then ( ( answer ) => { this . frequencyUserInput = answer . frequencyUserInput ; this . categoryUserInput = answer . categoryUserInput ; this . likelihoodUserInput = answer . likelihoodUserInput ; done ( ) ; } ) ; }
Ask for essential user input: categories, likelihood and frequency
Ask for essential user input : categories likelihood and frequency