MCPcopy Create free account
hub / github.com/cortexkit/magic-context / printDoctorHelp

Function printDoctorHelp

packages/cli/src/commands/doctor-pi.ts:131–151  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

129}
130
131function printDoctorHelp(): void {
132 console.log("");
133 console.log(" Magic Context for Pi doctor");
134 console.log(" ───────────────────────────");
135 console.log("");
136 console.log(" Usage:");
137 console.log(" magic-context-pi doctor Run health checks");
138 console.log(" magic-context-pi doctor --force Repair safe issues, then re-check");
139 console.log(" magic-context-pi doctor --issue Create a sanitized bug report");
140 console.log(
141 " magic-context-pi doctor --check-v22-backfill Show v22 memory backfill status",
142 );
143 console.log(
144 " magic-context-pi doctor --retry-v22-backfill Retry failed v22 memory backfill rows",
145 );
146 console.log(
147 " magic-context-pi doctor --rekey-v22-dir-identity <path> Re-key legacy dir identity rows",
148 );
149 console.log(" magic-context-pi doctor --help Show this help");
150 console.log("");
151}
152
153function selfVersion(): string {
154 const req = createRequire(import.meta.url);

Callers 1

runDoctorFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected