@factorialco/shadowdog
Version:
<img src="https://raw.githubusercontent.com/factorialco/shadowdog/refs/heads/main/logo.png" alt="drawing" width="100"/>
11 lines (10 loc) • 396 B
TypeScript
import * as childProcess from 'child_process';
interface Options {
command: string;
workingDirectory: string;
changedFilePath?: string;
onSpawn: (task: childProcess.ChildProcess) => void;
onExit: (task: childProcess.ChildProcess) => void;
}
export declare const runTask: ({ command, workingDirectory, changedFilePath, onSpawn, onExit, }: Options) => Promise<void>;
export {};