MCPcopy Create free account
hub / github.com/openai/plugins / fail

Function fail

plugins/openai-developers/scripts/openai-platform-api-key.mjs:38–41  ·  view source on GitHub ↗
(message, code = 1)

Source from the content-addressed store, hash-verified

36}
37
38function fail(message, code = 1) {
39 process.stderr.write(`${message}\n`);
40 process.exit(code);
41}
42
43function parseArgs(argv) {
44 const args = { _: [] };

Callers 15

parseArgsFunction · 0.85
ensureUsableNodeCryptoFunction · 0.85
realpathSyncOrFailFunction · 0.85
statDirectoryOrFailFunction · 0.85
resolveSafeTargetFunction · 0.85
lstatTargetFunction · 0.85
validateTargetFileTypeFunction · 0.85
openNoFollowFunction · 0.85
readFileNoFollowFunction · 0.85
writeFileNoFollowFunction · 0.85
minimalPublicJwkFunction · 0.85
readJsonFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected