UNPKG

aicm

Version:

A TypeScript CLI tool for managing AI IDE rules across different projects and teams

6 lines (5 loc) 243 B
/** * Helper function to execute a function within a specific working directory * and ensure the original directory is always restored */ export declare function withWorkingDirectory<T>(targetDir: string, fn: () => Promise<T>): Promise<T>;