v0.7.0 Release Notes
Released
Generated: 2026-01-18 10:30 (+00:00) v0.6.0 → v0.7.0
Recommended Commit Message
feat: Add clear command for complete deployment cleanup (rm in ddrun.sh)
翻譯
feat: 新增 clear 命令以完整清理部署 (rm in ddrun.sh)Summary
Add clear subcommand to compose dispatcher that performs complete deployment cleanup by removing containers, volumes, images, and the project folder on the remote host.
翻譯
在 compose dispatcher 新增 `clear` 子命令,透過移除遠端主機上的容器、volumes、映像和專案資料夾來執行完整的部署清理。Changes
FEAT
- Add
clearcommand to compose dispatcher switch statement - Implement
clear()method with three-phase cleanup:- Remove containers and volumes via
podman compose down -v - Remove images via
podman compose down --rmi all - Remove project folder using privileged alpine container
- Remove containers and volumes via
翻譯
- 在 compose dispatcher switch 語句新增
clear命令 - 實作
clear()方法,包含三階段清理:- 透過
podman compose down -v移除容器和 volumes - 透過
podman compose down --rmi all移除映像 - 使用特權 alpine 容器移除專案資料夾
- 透過
Files Changed
| File | Status | Tag |
|---|---|---|
internal/command/composeCMD.go |
Modified | FEAT |
Generated by Claude Code