deno.land / x / yargs@v17.6.0-deno / test / fixtures / issue-497.js
1234567891011121314151617181920212223#!/usr/bin/env node/* eslint-disable node/shebang */
/* eslint-disable no-undef */// pretend we are a TTYprocess.stdout.isTTY = true;process.stderr.isTTY = true;
const yargs = require('../../');const y = yargs .command('download <url> <files..>', 'make a get HTTP request') .help();
for (let i = 0; i < 1000; i++) { yargs.option('o' + i, { describe: 'option ' + i, });}
y.parse();
console.log('never get here');
Version Info