(title: string, definitions: FlagDefinition[])
| 1008 | } |
| 1009 | |
| 1010 | function renderFlagSection(title: string, definitions: FlagDefinition[]): string { |
| 1011 | return renderAlignedSection( |
| 1012 | title, |
| 1013 | definitions.map((flag) => ({ |
| 1014 | label: flag.usageLabel ?? '', |
| 1015 | description: flag.usageDescription ?? '', |
| 1016 | })), |
| 1017 | ); |
| 1018 | } |
| 1019 | |
| 1020 | function renderAlignedSection( |
| 1021 | title: string, |
no test coverage detected