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

Function buildHelpTopicUsageText

src/cli/parser/cli-help.ts:1076–1086  ·  view source on GitHub ↗
(topicName: string)

Source from the content-addressed store, hash-verified

1074}
1075
1076function buildHelpTopicUsageText(topicName: string): string | null {
1077 const topic = HELP_TOPICS[topicName as keyof typeof HELP_TOPICS];
1078 if (!topic) return null;
1079 return `${topic.body}
1080
1081Related:
1082 agent-device help command list and global flags
1083 agent-device help <command> command-specific flags
1084 agent-device help workflow normal app automation loop
1085`;
1086}

Callers 1

buildCommandUsageTextFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected