Files
browser-automation-botGitHubrelease-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
4d7b677d1d chore: release main (#15201)
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
2026-07-27 14:29:23 +02:00

1.3 KiB

sidebar_label
sidebar_label
CLI.(constructor)

CLI.(constructor)

Constructs a new instance of the CLI class

Signature

class CLI {
  constructor(
    opts?:
      | string
      | {
          cachePath?: string;
          scriptName?: string;
          version?: string;
          prefixCommand?: {
            cmd: string;
            description: string;
          };
          allowCachePathOverride?: boolean;
          pinnedBrowsers?: Partial<
            Record<
              Browser,
              {
                buildId: string;
                skipDownload: boolean;
              }
            >
          >;
        },
    rl?: readline.Interface,
  );
}

Parameters

Parameter

Type

Description

opts

string | { cachePath?: string; scriptName?: string; version?: string; prefixCommand?: { cmd: string; description: string; }; allowCachePathOverride?: boolean; pinnedBrowsers?: Partial<Record<Browser, { buildId: string; skipDownload: boolean; }>>; }

(Optional)

rl

readline.Interface

(Optional)