MCPcopy Index your code
hub / github.com/yargs/yargs / complex.mjs

File complex.mjs

example/complex.mjs:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import yargs from 'yargs';
2
3// a fairly complex CLI defined using the yargs 3.0 API:
4const argv = yargs(process.argv.slice(2))

Callers

nothing calls this directly

Calls 13

parseMethod · 0.80
aliasMethod · 0.80
demandMethod · 0.80
stringMethod · 0.80
optionMethod · 0.80
showHelpOnFailMethod · 0.65
epilogMethod · 0.65
exampleMethod · 0.65
versionMethod · 0.65
helpMethod · 0.65
impliesMethod · 0.65
commandMethod · 0.65

Tested by

no test coverage detected