MCPcopy Create free account
hub / github.com/ChromeDevTools/chrome-devtools-mcp / getSpec

Function getSpec

tests/cli.test.ts:1423–1424  ·  view source on GitHub ↗
(name: string)

Source from the content-addressed store, hash-verified

1421
1422describe('cli literal args', () => {
1423 const getSpec = (name: string) =>
1424 name in commands ? getCommandArgSpec(commands[name].args) : undefined;
1425
1426 function shield(argv: string[]) {
1427 const {argv: shielded, restore} = shieldLiteralArgs(argv, getSpec);

Callers 1

shieldLiteralArgsFunction · 0.85

Calls 1

getCommandArgSpecFunction · 0.85

Tested by

no test coverage detected