@qqq123456789/codex-doctor 0.3.1 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/tool/cli.mjs +4 -2
package/package.json
CHANGED
package/tool/cli.mjs
CHANGED
|
@@ -4,7 +4,7 @@ import { collectChecks, summarize, renderHuman } from './checks.mjs';
|
|
|
4
4
|
import { cleanTarget } from './clean.mjs';
|
|
5
5
|
import { backupConfig, restoreBackup, resetAuth, listVersions, listArchives, deleteArchive, checkUpdate } from './ops.mjs';
|
|
6
6
|
|
|
7
|
-
const VERSION = '0.
|
|
7
|
+
const VERSION = '0.4.0';
|
|
8
8
|
|
|
9
9
|
const HELP = `codex-doctor v${VERSION} — Codex CLI 维护与排障工具(零依赖)
|
|
10
10
|
|
|
@@ -133,9 +133,11 @@ async function main() {
|
|
|
133
133
|
case 'help':
|
|
134
134
|
case '--help':
|
|
135
135
|
case '-h':
|
|
136
|
+
console.log(HELP);
|
|
137
|
+
break;
|
|
136
138
|
case '-v':
|
|
137
139
|
case '--version':
|
|
138
|
-
console.log(
|
|
140
|
+
console.log(`codex-doctor v${VERSION}`);
|
|
139
141
|
break;
|
|
140
142
|
default:
|
|
141
143
|
console.error(`未知命令: ${cmd}\n`);
|