()
| 318 | }: { calledAsCommand?: boolean; debug?: boolean } = {}): Promise<void> { |
| 319 | // Add interrupt handler |
| 320 | const interruptHandler = () => { |
| 321 | console.log('\nInterrupted. Cleaning up...'); |
| 322 | // Add any necessary cleanup here |
| 323 | process.exit(0); |
| 324 | }; |
| 325 | |
| 326 | process.on('SIGINT', interruptHandler); |
| 327 |