docs: function _makeWriteFunction(options) {
    return function(results) {
      if (options.output) {
        const file = fs.createWriteStream(
          path.join(process.cwd(), options.output)
        )
        results.pipe(file)
      } else {
        results.pipe(process.stdout)
      }
    }
  }