MCPcopy Create free account
hub / github.com/cloudflare/templates / commandOutput

Function commandOutput

internal-sites-template/scripts/setup.js:68–73  ·  view source on GitHub ↗
(error)

Source from the content-addressed store, hash-verified

66}
67
68function commandOutput(error) {
69 return [error.stdout, error.stderr]
70 .filter(Boolean)
71 .map((output) => output.toString())
72 .join("\n");
73}
74
75function ensureDispatchNamespace(namespaceName, executeWrangler = runWrangler) {
76 log(blue, `Creating dispatch namespace '${namespaceName}'...`);

Callers 1

ensureDispatchNamespaceFunction · 0.85

Calls 1

toStringMethod · 0.65

Tested by

no test coverage detected