(args: string[], options?: any)
| 82 | * Execute a Claude CLI command |
| 83 | */ |
| 84 | export async function execClaudeCLI(args: string[], options?: any): Promise<{ stdout: string; stderr: string }> { |
| 85 | const claudePath = await findClaudeCLI() |
| 86 | return execa(claudePath, args, options) |
| 87 | } |
| 88 | |
| 89 | /** |
| 90 | * Reset the cached Claude path (useful for testing) |
no test coverage detected