async prompting()

in generators/guestbinary/index.js [32:73]


    async prompting() {
            var prompts = [

                {
                    name: 'serviceName',
                    message: 'Name of the application service:',
                    default: 'MyService',
                    when: !this._isOptionSet('serviceName')
                },

                {
                    name: 'guestBinarySourceFolder',
                    message: 'Source folder of guest binary artifacts:',
                    when: !this._isOptionSet('guestBinarySourceFolder')
                },

                {
                    name: 'guestBinaryRelativePath',
                    message: 'Relative path to guest binary in source folder:',
                    when: !this._isOptionSet('guestBinaryRelativePath')
                },

                {
                    name: 'guestBinaryParameters',
                    message: 'Parameters to use when calling guest binary:',
                    when: !this._isOptionSet('guestBinaryParameters')
                },

                {
                    name: 'instanceCount',
                    message: 'Number of instances of guest binary:',
                    default: '1',
                    when: !this._isOptionSet('instanceCount')
                },

            ];

            await this.prompt(prompts).then(props => {
                this.props = props;
            }); // askForService()

    } // prompting()