MCPcopy Create free account
hub / github.com/cloudflare/computer / cli.test.ts

File cli.test.ts

packages/computer/src/artifacts/cli.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1// Tests for the argv-driven artifacts CLI. These drive the
2// dispatcher through a real ArtifactClient over the in-memory fake
3// binding — no mocks — so the assertions cover the end-to-end shape
4// a shell consumer sees: scoping, JSON output, secret handling, and

Callers

nothing calls this directly

Calls 9

credentialURLFunction · 0.85
makeRemoteAddFunction · 0.85
hasMethod · 0.80
makeClientFunction · 0.70
runFunction · 0.70
cliMethod · 0.65
getMethod · 0.65
listTokensMethod · 0.65
findMethod · 0.65

Tested by

no test coverage detected