prompting: function()

in generators/AddService/index.js [21:38]


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

        var prompts = [{
            type: 'list'
            , name: 'frameworkType'
            , message: 'Choose a framework for your service'
            , default: this.config.get('frameworkType')
            , choices: ["Reliable Actor Service", "Reliable Stateless Service", "Reliable Stateful Service"]
            }];

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

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