(config: Partial<OutputConfig>)
| 52 | * Update the output configuration. |
| 53 | */ |
| 54 | export function setOutputConfig(config: Partial<OutputConfig>): void { |
| 55 | currentConfig = { ...currentConfig, ...config } |
| 56 | |
| 57 | // Create new chalk instance with appropriate color level |
| 58 | // This avoids modifying the global chalk instance |
| 59 | cliChalk = new Chalk({ level: currentConfig.color ? undefined : 0 }) |
| 60 | } |
| 61 | |
| 62 | /** |
| 63 | * Reset output configuration to defaults. |
no outgoing calls
no test coverage detected