Module delete

Module delete 

Source
Expand description

Delete CLI command for removing memories.

Provides both soft delete (tombstone) and hard delete capabilities.

§Usage

# Soft delete (default) - can be restored via gc command
subcog delete abc123
subcog delete id1 id2 id3

# Hard delete - permanent, irreversible
subcog delete --hard abc123

# Skip confirmation
subcog delete --force abc123

# Preview what would be deleted
subcog delete --dry-run abc123

Structs§

DeleteResult
Result of a delete operation.

Functions§

execute
Executes the delete command.
hard_delete 🔒
Performs hard delete (permanent) on the given memories.
soft_delete 🔒
Performs soft delete (tombstone) on the given memories.