MCPcopy Create free account
hub / github.com/cloudflare/computer / argvError

Function argvError

packages/computer/src/artifacts/cli.ts:702–704  ·  view source on GitHub ↗
(subcommand: string, message: string)

Source from the content-addressed store, hash-verified

700}
701
702function argvError(subcommand: string, message: string): ArtifactsCLIResult {
703 return { stdout: "", stderr: `artifacts ${subcommand}: ${message}\n`, exitCode: 129 };
704}
705
706function json(value: unknown): string {
707 return `${JSON.stringify(value, null, 2)}\n`;

Callers 11

runCreateFunction · 0.85
runShareFunction · 0.85
runRepoCreateFunction · 0.85
runRepoGetFunction · 0.85
runRepoListFunction · 0.85
runRepoDeleteFunction · 0.85
runRepoImportFunction · 0.85
runTokenCreateFunction · 0.85
runTokenListFunction · 0.85
runTokenGetFunction · 0.85
runTokenDeleteFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected