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

Function formatTopLevelHelp

apps/hook/server/cli.ts:29–49  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

27}
28
29export function formatTopLevelHelp(): string {
30 return [
31 "Usage:",
32 " plannotator --help",
33 " plannotator --version, -v",
34 " plannotator [--browser <name>]",
35 " plannotator review [--git] [PR_URL]",
36 " plannotator annotate <file.md | file.txt | file.html | https://... | folder/> [--markdown] [--no-jina] [--gate] [--json] [--hook]",
37 " plannotator annotate-last [--stdin] [--gate] [--json] [--hook]",
38 " plannotator setup-goal <interview|facts> <bundle.json | -> [--json]",
39 " plannotator last",
40 " plannotator archive",
41 " plannotator sessions",
42 " plannotator improve-context",
43 "",
44 "Run 'plannotator <command> --help' for command-specific usage.",
45 "",
46 "Note:",
47 " running 'plannotator' without arguments is for hook integration and expects JSON on stdin",
48 ].join("\n");
49}
50
51// Per-subcommand usage text. Keyed by the canonical subcommand token; aliases
52// (e.g. `last` → `annotate-last`) are resolved in formatSubcommandHelp().

Callers 3

index.tsFile · 0.90
cli.test.tsFile · 0.90
formatSubcommandHelpFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected