handle_snapshot

Function handle_snapshot 

Source
pub fn handle_snapshot(args: SnapshotArgs) -> Result<()>
Expand description

Handle snapshot-related commands.

ยงErrors

This function will return an error if:

  • The snapshot manager cannot be initialized
  • Environment variable loading fails
  • Snapshot operations fail (create, restore, delete, etc.)
  • File I/O operations fail during snapshot operations
  • User input cannot be read from stdin
  • Invalid snapshot names or IDs are provided