MCPcopy
hub / github.com/cacjs/cac / example

Function example

tests/index.test.ts:7–12  ·  view source on GitHub ↗
(file: string)

Source from the content-addressed store, hash-verified

5import cac from '../src/index.ts'
6
7function example(file: string) {
8 return path.relative(
9 process.cwd(),
10 path.join(import.meta.dirname, '../examples', file),
11 )
12}
13
14function snapshotOutput({
15 title,

Callers 3

outputHelpMethod · 0.85
snapshotOutputFunction · 0.85
getOutputFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…