@nalvietnam/avatar-cli 3.12.0 → 3.13.0-beta.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/README.md +5 -4
- package/dist/index.js +72 -71
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -33,8 +33,8 @@ npm install -g @nalvietnam/avatar-cli
|
|
|
33
33
|
## Sử dụng
|
|
34
34
|
|
|
35
35
|
```bash
|
|
36
|
-
avatar --help # liệt kê toàn bộ
|
|
37
|
-
avatar --version # 3.
|
|
36
|
+
avatar --help # liệt kê toàn bộ 17 commands
|
|
37
|
+
avatar --version # 3.12.0
|
|
38
38
|
|
|
39
39
|
# Lần đầu — đăng nhập Google SSO (workspace @nal.vn / nal-software.com)
|
|
40
40
|
avatar login
|
|
@@ -58,7 +58,7 @@ avatar doctor --fix
|
|
|
58
58
|
|
|
59
59
|
## Trạng thái implement
|
|
60
60
|
|
|
61
|
-
|
|
61
|
+
17 commands (đăng ký trong `src/index.ts`):
|
|
62
62
|
|
|
63
63
|
| Command | Trạng thái |
|
|
64
64
|
|---|---|
|
|
@@ -72,6 +72,7 @@ avatar doctor --fix
|
|
|
72
72
|
| `pack` | ✅ implement thật (status + version check) |
|
|
73
73
|
| `ai` | ✅ implement thật (setup AI provider) |
|
|
74
74
|
| `gitnexus` | ✅ implement thật (setup + analyze) |
|
|
75
|
+
| `update` | ✅ implement thật (self-update CLI qua `npm i -g`, hỗ trợ dist-tag) |
|
|
75
76
|
| `uninstall` | ✅ implement thật |
|
|
76
77
|
| `scan` | ⏳ stub (5 scanner cũng stub) |
|
|
77
78
|
| `review` | ⏳ stub |
|
|
@@ -84,7 +85,7 @@ avatar doctor --fix
|
|
|
84
85
|
avatar-cli/
|
|
85
86
|
├── bin/avatar.js # Shebang entry, loads dist/index.js
|
|
86
87
|
├── src/
|
|
87
|
-
│ ├── index.ts # Bootstrap commander + register
|
|
88
|
+
│ ├── index.ts # Bootstrap commander + register 17 commands
|
|
88
89
|
│ ├── commands/ # 1 file per CLI subcommand (login, init, sync, add-repo, ...)
|
|
89
90
|
│ ├── scanners/ # 5 project scanners (stub)
|
|
90
91
|
│ ├── lib/ # Utilities: oauth, git, supabase-pack-downloader, symlink farm, ...
|