(value?: string)
| 22 | } |
| 23 | |
| 24 | export function parseBooleanFlag(value?: string): boolean { |
| 25 | if (!value) return true; |
| 26 | const normalized = value.trim().toLowerCase(); |
| 27 | if (["false", "no", "0", "off"].includes(normalized)) return false; |
| 28 | return true; |
| 29 | } |
| 30 | |
| 31 | /** |
| 32 | * Pulls bare flag parts (an entire pipe part equal to the flag word, trimmed, |
no outgoing calls
no test coverage detected