deno.land / x / yargs@v17.6.0-deno / example / implies.js
12345678910#!/usr/bin/env nodevar argv = require('yargs/yargs')(process.argv.slice(2)) .usage('Usage: $0 -x [num] -y [num]') .implies('x', 'y') .argv;
if (argv.x) { console.log(argv.x / argv.y);}
Version Info