yargs.js 403 B

1234567891011121314
  1. 'use strict'
  2. // an async function fails early in Node.js versions prior to 8.
  3. async function requiresNode8OrGreater () {}
  4. requiresNode8OrGreater()
  5. const { Yargs, rebase } = require('./build/lib/yargs')
  6. const Parser = require('yargs-parser')
  7. exports = module.exports = Yargs
  8. exports.rebase = rebase
  9. // allow consumers to directly use the version of yargs-parser used by yargs
  10. exports.Parser = Parser