static get prompt() {
    const fn = (questions, ...rest) => {
      let enquirer = new this(...rest);
      let emit = enquirer.emit.bind(enquirer);
      enquirer.emit = (...args) => {
        fn.emit(...args);
        return emit(...args);
      };
      return enquirer.prompt(questions);
    };
    utils.mixinEmitter(fn, new Events());
    return fn;
  }
Prompt function that takes a "question" object or array of question objects,
and returns an object with responses from the user.

```js
const { prompt } = require('enquirer');
const response = await prompt({
  type: 'input',
  name: 'username',
  message: 'What is your username?'
});
console.log(response);
```
@name Enquirer#prompt
@param {Array|Object} `questions` Options objects for one or more prompts to run.
@return {Promise} Promise that returns an "answers" object with the user's responses.
@api public