pub fn cmd_delete(
args: &DeleteArgs,
global: &GlobalArgs,
writer: &mut NdjsonWriter<impl Write>,
) -> Result<()>Expand description
Delete files with optional backup and dry-run support.
§Errors
Returns AtomwriteError::NotFound if the target file does not exist.
Returns AtomwriteError::WorkspaceJail if the path escapes the workspace.
Returns AtomwriteError::Io if deleting the file fails.