MCPcopy Create free account
hub / github.com/backnotprop/plannotator / formatSubcommandHelp

Function formatSubcommandHelp

apps/hook/server/cli.ts:157–159  ·  view source on GitHub ↗
(subcommand: string)

Source from the content-addressed store, hash-verified

155
156/** Usage text for a canonical subcommand (falls back to top-level help). */
157export function formatSubcommandHelp(subcommand: string): string {
158 return SUBCOMMAND_HELP[subcommand] ?? formatTopLevelHelp();
159}
160
161export function formatInteractiveNoArgClarification(): string {
162 return [

Callers 2

index.tsFile · 0.90
cli.test.tsFile · 0.90

Calls 1

formatTopLevelHelpFunction · 0.85

Tested by

no test coverage detected