()
| 8 | * Initialize the logger with intro message |
| 9 | */ |
| 10 | export function initLogger(): void { |
| 11 | if (isInitialized) return |
| 12 | isInitialized = true |
| 13 | p.intro(styleText(['bgCyan', 'black'], ' npmx connector ')) |
| 14 | } |
| 15 | |
| 16 | /** |
| 17 | * Log when starting to execute a command |