DashboardcliCommand-owned structured metadata for C…

Command-owned structured metadata for CLI documentation

Category: preference
Confidence: 1.00
ID: 01a08c39-b7e2-75f9-8365-f061c1020e2b
Project ID: c760f4f9-42b0-4ce0-b36d-6b8c38d770b2
Cross-project: No
Recalled in other projects: 0
Source session: 0I6OpGxWG8Ewjx9ts
Created: 2026-09-09 04:59:50
Updated: 2026-09-10 16:49:48

Content

Always define canonical examples in CommandDocumentation.examples and compound positional syntax in the first customUsage entry. Chose structured metadata over handwritten or reverse-parsed Markdown because duplicate authorities drift. Preserve these as __examples and __primaryUsage; introspection must expose __primaryUsage as the sole positional row’s public syntax, so help, parent route help, generated docs, skills, and argument tables render the same canonical grammar instead of raw parser placeholders.

Move to: