gatelineAPI reference
ExecLike: (
    cmd: string,
    args: string[],
    opts: { cwd: string; maxBuffer: number },
) => 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 real gh.

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>