runBrowser

tcmts.cli.run.runBrowser · #sktcc3br · function · runs anywhere

Runs tcm browser, in a codebase or not: every argument is agent-browser's, so none is parsed here.

import { browser } from "#codebase/tcmts/cli/browser";
import type { Started } from "#codebase/tcmts/cli/run";

export async function runBrowser({ rest, cwd }: Started): Promise<number> {
  return browser({ cwd, args: rest });
}

uses

used by