Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
2
import
yargs from
'yargs'
;
3
4
yargs(process.argv.slice(2)).commandDir(
'cmds'
).demandCommand().help().parse();
Callers
nothing calls this directly
Calls
4
parse
Method · 0.80
demandCommand
Method · 0.80
commandDir
Method · 0.80
help
Method · 0.65
Tested by
no test coverage detected