deno.land / x / yargs@v17.6.0-deno / test / fixtures / command-module.js
12345678910111213141516171819/* eslint-disable no-undef */exports.command = 'blerg <foo>';
exports.describe = 'handle blerg things';
exports.builder = function (yargs) { return yargs .option('banana', { default: 'cool', }) .option('batman', { default: 'sad', });};
exports.handler = function (argv) { global.commandHandlerCalledWith = argv;};
Version Info