Dashboard › cli › Distillation
fae40377-0814-4a43-8aae-a68273a76eae["lore_tm_v1_DJREkWToc5hehotMkTSJZ_Qh55cgdYzPBmSCVWQM49w","lore_tm_v1_r49JPCsRYP0Unu_SBm25LQ2ujQ0IrNknr_VQ7XZTOfE"]
No files found.getPositionalString tuple invariant: it always produces angle-bracket placeholders.getPositionalString array invariant: it always includes an ellipsis (...).extractAllRoutes invariant: it never includes hidden entries.packages/cli/script/generate-command-docs.ts updates the documentation-generation model: generated pages now combine (1) auto-generated reference and examples from CLI metadata or the environment-variable registry and (2) hand-written guides and tips from docs/src/fragments/; fragments remain the committed source of truth for content that cannot live in command definitions.packages/cli/script/generate-command-docs.ts now imports formatCommandExamples from ./generate-skill-markdown.js.Command type gains __examples?: readonly CommandExample[], documented as canonical documentation examples retained by buildCommand.buildCommandInfo(cmd, path, examples) now prefers structured cmd.__examples over legacy document examples and formats them with descriptions as shell comments. The added test expects [{ description: "Use automatic organization detection", command: "sentry thing list" }, { description: "Select an organization explicitly", command: "sentry thing list my-org" }] to become ["# Use automatic organization detection\nsentry thing list", "# Select an organization explicitly\nsentry thing list my-org"], superseding the legacy example sentry thing list stale-org.placeholder and optional fields and verifies every positional parameter renders exactly as [<${placeholder}>] when optional or <${placeholder}> when required, with fallback placeholder arg${index}.kind: "array" positional string contains ..., including when its placeholder is absent.extractAllRoutes explicitly skips route entries where subEntry.hidden is true, and its property test verifies hidden entries are absent.info.positional === "", while sentry project create produces info.positional === "<name>:<kind>...".