MCPcopy Index your code
hub / github.com/callstack/agent-device / readPublicCliFlagKeys

Function readPublicCliFlagKeys

scripts/integration-progress-model.ts:327–333  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

325}
326
327function readPublicCliFlagKeys() {
328 return new Set(
329 getFlagDefinitions()
330 .filter((definition) => definition.names.some((name) => name.startsWith('-')))
331 .map((definition) => definition.key),
332 );
333}
334
335function listFiles(dir, predicate) {
336 if (!fs.existsSync(dir)) return [];

Callers 1

Calls 2

getFlagDefinitionsFunction · 0.90
startsWithMethod · 0.80

Tested by

no test coverage detected