sara-tasks 0.9.0

Sara — folder-aware task manager
1
2
3
4
5
6
7
8
9
10
11
12
use anyhow::Result;
use rusqlite::Connection;

use crate::infrastructure::db;

pub fn run(conn: &Connection) -> Result<()> {
    match db::undo(conn)? {
        Some(command) => println!("Undid: {command}"),
        None => println!("Nothing to undo."),
    }
    Ok(())
}