Skip to main content

Module undo

Module undo 

Source
Expand description

CLI handler for ralph undo command.

Responsibilities:

  • Handle ralph undo to restore the most recent snapshot.
  • Handle ralph undo --list to show available snapshots.
  • Handle ralph undo --dry-run to preview restores.
  • Handle ralph undo --id <id> to restore a specific snapshot.

Not handled here:

  • Core undo logic (see crate::undo).
  • Queue lock management (delegated to queue module).

Structs§

UndoArgs

Functions§

handle
Handle the ralph undo command.