(value: string)
| 1385 | ) { |
| 1386 | const isOption = (value: string): boolean => value.startsWith("-"); |
| 1387 | const isGlobalOption = (value: string) => |
| 1388 | value === "--color" || |
| 1389 | value === "--no-color" || |
| 1390 | value === "-v" || |
| 1391 | value === "--version" || |
| 1392 | value === "-h" || |
| 1393 | value === "--help"; |
| 1394 | const { bold } = this.colors; |
| 1395 | // Shared "chrome" used to render the help screens. These are purely visual: |
| 1396 | // colors collapse to plain strings when colors are disabled (e.g. piped output |
nothing calls this directly
no outgoing calls
no test coverage detected