Skip to content

feat: add dream purge command for service data deletion #796

@yasinBursali

Description

@yasinBursali

Problem

  • Users have no way to reclaim disk space from disabled extensions without manual rm -rf
  • Root-owned files from Docker containers make manual cleanup fail without sudo
  • dream disable gives no indication that data is preserved or how to clean it up

Proposed Solution

  • Add dream purge <service> command with type-to-confirm safety gate
  • Handle root-owned Docker files via Alpine container fallback
  • Update dream disable to show preserved data size and hint about purge
  • Explicit data lifecycle: disable (preserves data) → purge (deletes data)

Scope

  • dream-cli only — cmd_purge(), cmd_disable() message, dispatch, help

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions