Dashboard › cli › Distillation
aa0d258d-263f-4ac4-9b9a-7abdcae22590["lore_tm_v1_OGSj41890iAW929UyCODeNI7v_1bz7hKkKYbvq6RDHQ","lore_tm_v1_NC6-Q7K6LwqckbyaKdPlraVB3DuC6pls-DeT2bb3G6o","lore_tm_v1_vfoeHTyLWdQ_cVuHVO1wsyme5YVu78_YuqlerKC8CJo","lore_tm_v1_dpR8_CkEdzyvB-0HEnAKDyd7FY_Dcwpn0gkl1M78dfk","lore_tm_v1_TcTsysNiMjEnFGzNZztKdxycNBLDd9RzWhgJOe6xKMg","lore_tm_v1_NqgZ9jd7bj4WUIvfIZflqy9nBh0Gjagt-0nFRz_u_tQ","lore_tm_v1_oeIvhHQwfKwhjRVJUCQ1zb-VlHmQgo7GtqtrMNTbrUY","lore_tm_v1_57G0ZqpdLlawbmUPy1nnS9FGwSQ3-eO77-uMsQC5oEU","lore_tm_v1_3VXZN-FjmqlCzNqjs7V0ANQeLE79AAIj3ek5Vtz-mAY","lore_tm_v1_i_-pg085uLDNna14ANxY_RHkb2QUIW4dcReFdkxKJ7c","lore_tm_v1_-Z8Aw1oWDU8KuvlACUpSJLYYJjPzCPPU3jcUVDcPBrg"]
/home/byk/Code/getsentry/cli-pr-1558/packages/cli/node_modules/@stricli/core/dist/index.d.ts:560-605 defines ApplicationConfiguration with required name, optional versionInfo, required scanner, documentation, completion, and localization, plus optional determineExitCode?: (exc: unknown) => number; without determineExitCode, an unexpectedly thrown value defaults to exit code 1./home/byk/Code/getsentry/cli-pr-1558/packages/cli/node_modules/@stricli/core/dist/index.d.ts:1137-1150 defines Application<CONTEXT extends CommandContext> with readonly root, config, and defaultText; buildApplication() has overloads for a top-level RouteMap<CONTEXT> and a single top-level Command<CONTEXT>.DocumentationConfiguration.alwaysShowHelpAllFlag: true must always include the --helpAll/--help-all flag in the list of built-in flags; the flag shows hidden commands/arguments, cannot be functionally disabled, is hidden from built-in flags by default, and alwaysShowHelpAllFlag defaults to false./home/byk/Code/getsentry/cli-pr-1558/packages/cli/node_modules/@stricli/core/dist/index.d.ts:452-513 defines documentation options: useAliasInUsageLine defaults to false; onlyRequiredInUsageLine defaults to false and, when enabled, hides all runtime-optional parameters including defaults; caseStyle is "original" or "convert-camel-to-kebab" and cannot use the latter when scanner case style is "original"; disableAnsiColor defaults to false.DocumentationConfiguration.renderHelp hook receives { prefix: readonly string[]; unprocessedInputs: readonly string[]; helpRequested: boolean | "all" } and returns string | undefined; a string is written verbatim to stdout, while undefined falls through to built-in formatHelp. helpRequested is false for a bare route map, true for --help, and "all" for --helpAll./home/byk/Code/getsentry/cli-pr-1558/packages/cli/node_modules/@stricli/core/dist/index.js:2105-2129 constructs commands with parameters, lazy brief and fullDescription, formatUsageLine() delegated to formatUsageLineForParameters(), formatHelp() delegated to generateCommandHelpLines() with a trailing newline, and usesFlag() checking both flags and aliases./home/byk/Code/getsentry/cli-pr-1558/packages/cli/node_modules/@stricli/core/dist/index.js:2133-2151 generates route-map help by emitting a usage header, visible route usage lines with configured case conversion, built-in flag usage lines, a blank line, and fullDescription ?? brief.rg: regex parse error because the pattern (?:formatHelp\(\{|formatHelp\({|defaultText\.documentation|text: defaultText) treated an unescaped { as a repetition quantifier; the error was repetition quantifier expects a valid decimal.formatHelp() invocations in /home/byk/Code/getsentry/cli-pr-1558/packages/cli/node_modules/@stricli/core/dist/index.js at lines 1481 and 1650./home/byk/Code/getsentry/cli-pr-1558/packages/cli/node_modules/@stricli/core/dist/index.js:1631-1663 implements generateHelpTextForAllCommands(): it uses defaultText unless a requested locale is loaded through config.localization.loadText(), throws InternalError for unsupported locales, gathers either the root command or all routed commands, and returns [route.join(" "), command.formatHelp(...)] tuples.generateHelpTextForAllCommands() passes config.documentation to command.formatHelp() with includeVersionFlag only when config.versionInfo exists and route.length === 1, includeArgumentEscapeSequenceFlag: config.scanner.allowArgumentEscapeSequence, includeHelpAllFlag: config.documentation.alwaysShowHelpAllFlag, includeHidden: false, ansiColor: false, plus route aliases and localized text./home/byk/Code/getsentry/cli-pr-1558/packages/cli/test/lib/introspect.property.test.ts uses fast-check with DEFAULT_NUM_RUNS to property-test extractFlags, getPositionalString, extractAllRoutes, and resolveCommandPath.extractFlags() invariant: it always returns one FlagInfo per input entry. The property compares result length exactly with Object.keys(flags).length.extractFlags() properties require preserving every input flag name and defaulting boolean flags to optional: true when the input flag’s optional value is undefined.getPositionalString() invariant: it always produces angle-bracket placeholders. Each parameter must render as <placeholder> when required or [<placeholder>] when optional, with unnamed parameters falling back by index to arg0, arg1, and so on.getPositionalString() invariant: it always includes ellipsis (...), including when its generated placeholder is empty and therefore replaced with undefined.extractAllRoutes() property tests require never including entries that are exclusively hidden and require the resulting route count to be less than or equal to the total number of visible entries.resolveCommandPath() invariant: an empty path always returns null.resolveCommandPath() property tests also require every successfully resolved command path to start with "sentry "./home/byk/Code/getsentry/cli-pr-1558/packages/cli/test/lib/introspect.property.test.ts use flag kinds "boolean", "parsed", and "enum"; alphabetic lowercase names of length 1-10; flag maps and one-level route maps with 0-5 entries; and FlagDef fields kind, brief, hidden, optional, and variadic./home/byk/Code/getsentry/cli-pr-1558/packages/cli/test/lib/help-positional.test.ts.