Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
38
function
fail(message, code = 1) {
39
process.stderr.write(`${message}\n`);
40
process.exit(code);
41
}
42
43
function
parseArgs(argv) {
44
const
args = { _: [] };
Callers
15
parseArgs
Function · 0.85
ensureUsableNodeCrypto
Function · 0.85
realpathSyncOrFail
Function · 0.85
statDirectoryOrFail
Function · 0.85
resolveSafeTarget
Function · 0.85
lstatTarget
Function · 0.85
validateTargetFileType
Function · 0.85
openNoFollow
Function · 0.85
readFileNoFollow
Function · 0.85
writeFileNoFollow
Function · 0.85
minimalPublicJwk
Function · 0.85
readJson
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected