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

Function flagDefinitionsForKey

src/cli/parser/cli-help.ts:941–943  ·  view source on GitHub ↗
(key: FlagKey)

Source from the content-addressed store, hash-verified

939}
940
941function flagDefinitionsForKey(key: FlagKey): FlagDefinition[] {
942 return getFlagDefinitions().filter((definition) => definition.key === key);
943}
944
945function buildCommandListUsage(commandName: string, schema: CommandSchema): string {
946 if (schema.listUsageOverride) return schema.listUsageOverride;

Callers 1

buildCommandUsageFunction · 0.85

Calls 1

getFlagDefinitionsFunction · 0.90

Tested by

no test coverage detected