MCPcopy
hub / github.com/google/zx / readScriptFromStdin

Function readScriptFromStdin

src/cli.ts:242–244  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

240}
241
242async function readScriptFromStdin(): Promise<string> {
243 return process.stdin.isTTY ? '' : stdin()
244}
245
246async function readScriptFromHttp(remote: string): Promise<string> {
247 const res = await fetch(remote)

Callers 1

readScriptFunction · 0.85

Calls 1

stdinFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…