v0.11.0

v0.7.0 Release Notes

Released

Generated: 2026-01-18 10:30 (+00:00) v0.6.0 → v0.7.0

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

翻譯
  • 在 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