setup-kubectl/node_modules/yargs/yargs.js
github-actions[bot] 7ad2aa66bb
Add node modules and new code for release (#39)
Co-authored-by: tbarnes94 <tbarnes94@users.noreply.github.com>
2022-01-05 11:26:06 -05:00

14 lines
403 B
JavaScript

'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