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

Function getSpec

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

Source from the content-addressed store, hash-verified

1619
1620describe('cli literal args', () => {
1621 const getSpec = (name: string) =>
1622 name in commands ? getCommandArgSpec(commands[name].args) : undefined;
1623
1624 function shield(argv: string[]) {
1625 const {argv: shielded, restore} = shieldLiteralArgs(argv, getSpec);

Callers 1

shieldLiteralArgsFunction · 0.85

Calls 1

getCommandArgSpecFunction · 0.85

Tested by

no test coverage detected