MCPcopy Create free account
hub / github.com/QodeXcli/QodeX / gatherMaintainRuns

Function gatherMaintainRuns

src/index.ts:797–811  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

795 const knownOrEmpty = !id || !!findGateway(id);
796 if (isInteractiveTTY() && knownOrEmpty && !hasExplicitFlags) {
797 const { interactiveAddProvider } = await import('./setup/provider-add-interactive.js');
798 try {
799 const r = await interactiveAddProvider(id);
800 process.exit(r ? 0 : 1);
801 } catch (e: any) {
802 console.error(`✗ ${e?.message ?? e}`);
803 process.exit(1);
804 }
805 }
806
807 if (!id) {
808 console.error('✗ Provide a provider id, or run `qodex provider add` in a terminal for guided setup.');
809 console.error(' Known gateways: qodex provider list');
810 process.exit(1);
811 }
812
813 const spec = findGateway(id);
814 let entry;

Callers 1

index.tsFile · 0.85

Calls 5

getScheduleStoreFunction · 0.85
parseMaintainScopeFunction · 0.85
recentRunsMethod · 0.80
listMethod · 0.45
pushMethod · 0.45

Tested by

no test coverage detected