MCPcopy
hub / github.com/toon-format/toon / CliTestContext

Interface CliTestContext

packages/cli/test/utils.ts:17–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15}
16
17export interface CliTestContext {
18 readonly dir: string
19 run: (args?: string[]) => Promise<void>
20 read: (relativePath: string) => Promise<string>
21 write: (relativePath: string, contents: string) => Promise<void>
22 resolve: (relativePath: string) => string
23 cleanup: () => Promise<void>
24}
25
26const TEMP_PREFIX = path.join(os.tmpdir(), 'toon-cli-test-')
27

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…