lib/index.js
function prompt (config) {
  const controller = new Controller()
  return controller
    .prompt(config)
    .then(function (answer) {
      controller.destroy()
      return answer
    })
}
function prompt (config) {
  const controller = new Controller()
  return controller
    .prompt(config)
    .then(function (answer) {
      controller.destroy()
      return answer
    })
}
function prompt ( config ) { const controller = new Controller ( ) return controller . prompt ( config ) . then ( function ( answer ) { controller . destroy ( ) return answer } ) }
Prompt use not in `qa`, provide new constroller to take.

@param {Object} config
@returns {Promise}
Prompt use not in qa provide new constroller to take .