MCPcopy Create free account
hub / github.com/HKUDS/AgentSpace / formatIntegrationLabel

Function formatIntegrationLabel

apps/cli/src/commands/integrations/feishu.ts:10470–10475  ·  view source on GitHub ↗
(candidate: FeishuIntegrationReadiness | undefined)

Source from the content-addressed store, hash-verified

10468}
10469
10470function formatIntegrationLabel(candidate: FeishuIntegrationReadiness | undefined): string {
10471 if (!candidate) {
10472 return "the selected Feishu integration";
10473 }
10474 return `${candidate.displayName} (${candidate.id})`;
10475}
10476
10477function hasBooleanFlag(flags: Record<string, string | boolean>, key: string): boolean {
10478 const value = flags[key];

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected