MCPcopy
hub / github.com/opentrace/opentrace / FakeOpts

Interface FakeOpts

plugins/opencode/test/_helpers/fake-cli.ts:90–99  ·  plugins/opencode/test/_helpers/fake-cli.ts::FakeOpts

Source from the content-addressed store, hash-verified

88}
89
90interface FakeOpts {
91 stdout?: string
92 stdoutFile?: string
93 stderr?: string
94 exitCode?: number
95 sleepMs?: number
96 versionExitCode?: number
97 /** Per-subcommand stdout overrides keyed by the subcommand name in argv. */
98 bySubcommand?: Record<string, string>
99}
100
101const FAKE_SCRIPT = `#!/bin/sh
102ARGV_LOG=class="st">"__ARGV_LOG__"

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected