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