source: trip-planner-front/node_modules/yargs/yargs@ 6a3a178

Last change on this file since 6a3a178 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 457 bytes
Line 
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:
3const {applyExtends, cjsPlatformShim, Parser, Yargs, processArgv} = require('./build/index.cjs')
4Yargs.applyExtends = (config, cwd, mergeExtends) => {
5 return applyExtends(config, cwd, mergeExtends, cjsPlatformShim)
6}
7Yargs.hideBin = processArgv.hideBin
8Yargs.Parser = Parser
9module.exports = Yargs
Note: See TracBrowser for help on using the repository browser.