MCPcopy Create free account
hub / github.com/NativeScript/SimDeck / simdeckText

Function simdeckText

scripts/integration/cli.mjs:1765–1772  ·  view source on GitHub ↗
(args, options = {})

Source from the content-addressed store, hash-verified

1763}
1764
1765function simdeckText(args, options = {}) {
1766 return runText(simdeck, ["--server-url", serverUrl, ...args], {
1767 timeoutMs: options.timeoutMs ?? 120_000,
1768 maxElapsedMs: options.maxElapsedMs,
1769 input: options.input,
1770 env: { HOME: tempRoot, ...(options.env ?? {}) },
1771 });
1772}
1773
1774function runJson(command, args, options = {}) {
1775 return JSON.parse(runText(command, args, options));

Callers 2

simdeckJsonFunction · 0.85
retrySimdeckTextFunction · 0.85

Calls 1

runTextFunction · 0.70

Tested by

no test coverage detected