# v0.7.0 Release Notes

> 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)
<details>
<summary>翻譯</summary>
feat: 新增 clear 命令以完整清理部署 (rm in ddrun.sh)
</details>

***

## 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.
<details>
<summary>翻譯</summary>
在 compose dispatcher 新增 `clear` 子命令，透過移除遠端主機上的容器、volumes、映像和專案資料夾來執行完整的部署清理。
</details>

## Changes

### FEAT
- Add `clear` command 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

<details>
<summary>翻譯</summary>

- 在 compose dispatcher switch 語句新增 `clear` 命令
- 實作 `clear()` 方法，包含三階段清理：
  - 透過 `podman compose down -v` 移除容器和 volumes
  - 透過 `podman compose down --rmi all` 移除映像
  - 使用特權 alpine 容器移除專案資料夾

</details>

***

## Files Changed

| File | Status | Tag |
|------|--------|-----|
| `internal/command/composeCMD.go` | Modified | FEAT |

***

Generated by [Claude Code](https://gist.github.com/pardnchiu/cc619549138ccc7b57c073c314b7d0d8)
