ExecLike: (
cmd: string,
args: string[],
opts: { cwd: string; maxBuffer: number },
) => Promise<string>
Type declaration
- (
cmd: string,
args: string[],
opts: { cwd: string; maxBuffer: number },
): Promise<string> Parameters
- cmd: string
- args: string[]
- opts: { cwd: string; maxBuffer: number }
Returns Promise<string>
Same invocation shape as
Git.run/GhCliProvider(sources/sync.ts):(cmd, args, opts) -> stdout, rejecting on a non-zero exit. Injectable so tests never shell out to a realgh.