code: function askTypeOfApplication() {
      if (this.abort) return null;
      const done = this.async();
  
      const prompts = [
          {
              type: 'list',
              name: 'applicationType',
              message: 'Which *type* of application would you like to deploy?',
              choices: [
                  {
                      value: 'monolith',
                      name: 'Monolithic application'
                  },
                  {
                      value: 'microservice',
                      name: 'Microservice application'
                  }
              ],
              default: 'monolith'
          }
      ];
  
      return this.prompt(prompts).then(props => {
          const applicationType = props.applicationType;
          this.deploymentApplicationType = props.applicationType;
          if (applicationType) {
              this.log(applicationType);
              done();
          } else {
              this.abort = true;
              done();
          }
      });
  }
docs: Ask user what type of application is to be created?