generators/aws-containers/prompts.js
function askDeployNow() {
    if (this.abort) return null;
    const done = this.async();
    const prompts = [
        {
            type: 'confirm',
            name: 'deployNow',
            message: 'Would you like to deploy now?.',
            default: true
        }
    ];

    return this.prompt(prompts).then(props => {
        this.deployNow = props.deployNow;
        done();
    });
}
function askDeployNow() {
    if (this.abort) return null;
    const done = this.async();
    const prompts = [
        {
            type: 'confirm',
            name: 'deployNow',
            message: 'Would you like to deploy now?.',
            default: true
        }
    ];

    return this.prompt(prompts).then(props => {
        this.deployNow = props.deployNow;
        done();
    });
}
function askDeployNow ( ) { if ( this . abort ) return null ; const done = this . async ( ) ; const prompts = [ { type : 'confirm' , name : 'deployNow' , message : 'Would you like to deploy now?.' , default : true } ] ; return this . prompt ( prompts ) . then ( props => { this . deployNow = props . deployNow ; done ( ) ; } ) ; }
Ask user if they would like to deploy now?
Ask user if they would like to deploy now?