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

File command_hierarchy.mjs

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

Source from the content-addressed store, hash-verified

1#!/usr/bin/env node
2import yargs from 'yargs';
3
4yargs(process.argv.slice(2)).commandDir('cmds').demandCommand().help().parse();

Callers

nothing calls this directly

Calls 4

parseMethod · 0.80
demandCommandMethod · 0.80
commandDirMethod · 0.80
helpMethod · 0.65

Tested by

no test coverage detected