pub fn delete_task(
base: &Path,
tasks: &HashMap<String, Task>,
id_or_prefix: &str,
) -> Result<Task>Expand description
Delete a task by ID or prefix, returning the deleted task. References to the deleted task are removed from remaining tasks.