Няма описание
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

123456789
  1. // TODO: consolidate on using a helpers file at some point in the future, which
  2. // is the approach currently used to export Parser and applyExtends for ESM:
  3. const {applyExtends, cjsPlatformShim, Parser, Yargs, processArgv} = require('./build/index.cjs')
  4. Yargs.applyExtends = (config, cwd, mergeExtends) => {
  5. return applyExtends(config, cwd, mergeExtends, cjsPlatformShim)
  6. }
  7. Yargs.hideBin = processArgv.hideBin
  8. Yargs.Parser = Parser
  9. module.exports = Yargs