MCPcopy Create free account
hub / github.com/ProtonDriveApps/sdk / reportFatalError

Function reportFatalError

cli/src/cli/run.ts:75–82  ·  view source on GitHub ↗
(error: unknown)

Source from the content-addressed store, hash-verified

73 }
74
75 if (groupName === 'version' || groupName === '--version' || groupName === '-v') {
76 await printVersions(initOptions);
77 return;
78 }
79
80 const command = getCommand(commands, groupName, commandName);
81 const { options, args } = getCommandArguments(command, argv);
82 return { command, options, args };
83}
84
85function verifyAuthentication(command: Command, session: CliSession) {

Callers 1

runSingleInvocationFunction · 0.85

Calls 3

formatReadableJsonFunction · 0.90
errorMethod · 0.65
debugMethod · 0.65

Tested by

no test coverage detected