(name, i18n: Translator)
| 17550 | } |
| 17551 | |
| 17552 | function resolveCommandHelpSpec(name, i18n: Translator) { |
| 17553 | const normalized = normalizeHelpTarget(name); |
| 17554 | if (!normalized) { |
| 17555 | return null; |
| 17556 | } |
| 17557 | const specs = getCommandHelpSpecs(i18n); |
| 17558 | const canonical = buildCommandCanonicalNameMap(specs, HIDDEN_COMMAND_ALIASES).get(normalized) ?? null; |
| 17559 | return canonical ? specs[canonical] ?? null : null; |
| 17560 | } |
| 17561 | |
| 17562 | function renderCommandCatalog(i18n: Translator, { |
| 17563 | showGoal = true, |
no test coverage detected