Skip to content

CliRunnerOptions

CliRunnerOptions = object

Defined in: src/runner/cli-runner.ts:124

Options for CliRunner

Properties

audit?

optional audit: AuditConfig

Defined in: src/runner/cli-runner.ts:146

Audit configuration for command tracking and tracing


credential?

optional credential: CredentialHelperConfig

Defined in: src/runner/cli-runner.ts:144

Credential helper configuration


env?

optional env: Record<string, string>

Defined in: src/runner/cli-runner.ts:128

Additional environment variables


gitBinary?

optional gitBinary: string

Defined in: src/runner/cli-runner.ts:126

Git binary path (default: ‘git’)


home?

optional home: string

Defined in: src/runner/cli-runner.ts:142

Custom HOME directory for git config isolation


inheritEnv?

optional inheritEnv: EnvInheritance

Defined in: src/runner/cli-runner.ts:138

Controls how the parent process environment is inherited by spawned Git commands.

By default, only a curated allowlist of variables that Git needs to operate is inherited (environment variable traversal prevention); the full parent environment is NOT forwarded. See EnvInheritance for all options.

Default

undefined (inherit the default allowlist)

pathPrefix?

optional pathPrefix: string[]

Defined in: src/runner/cli-runner.ts:140

Directories to prepend to PATH