Dashboard › cli › Distillation
6f384027-9fd5-4989-a083-011ab8e0fb40["lore_tm_v1_C4r9MYqd3QL6RkNBmGQYhkit7okUFiQKJrq95dEGsio","lore_tm_v1_fLUpU8QqXK3k-GTNWTeSfQA_BgGRgTgO6ynlWert7cw"]
packages/cli/src/lib/command.ts, CommandExample is exported with readonly description and readonly command; command is a complete command line including the sentry executable.packages/cli/src/lib/command.ts, CommandDocumentation is exported as Stricli’s native command documentation extended with optional readonly examples?: readonly CommandExample[]; examples are canonical metadata consumed by generated documentation.CommandDocumentation.customUsage is present, its first line is the canonical signature suffix, while later lines may document equivalent forms.CommandOutput<T> and may return { hint }; streaming yields render immediately, but commands supporting --json must yield one aggregate value when callers require one parseable JSON document because individual chunks are pretty-printed rather than JSONL; void commands may return without yielding for early exits such as --web.CommandReturn and are rendered after all yields are consumed, never on individual yields.packages/cli/src/lib/command.ts, flags in ALWAYS_STRIP are always stripped before invocation, so the command never sees them; ALWAYS_STRIP contains LOG_LEVEL_KEY.buildListCommand defaults to injecting --fresh, --cursor, and aliases -f and -c; ListCommandOptions.noCursorFlag suppresses --cursor and -c, while ListCommandOptions.noFreshAlias suppresses only the -f alias, such as when log list reserves -f for --follow.buildListCommand always injects --fresh unless the command already defines it.interceptSubcommand(args[0], ctx.stderr, routeName) to handle plural-alias confusion before calling the original command function.--yes unless the command already defines it.