(option: Option)
| 246 | } |
| 247 | |
| 248 | function extractOptionPlaceholder(option: Option): string { |
| 249 | const match = option.flags.match(/(<[^>]+>|\[[^\]]+\])/); |
| 250 | return match ? match[0] : ""; |
| 251 | } |
| 252 | |
| 253 | function buildOptionUsage(commandPath: string, option: Option): string { |
| 254 | const preferred = |
no outgoing calls
no test coverage detected
searching dependent graphs…