sara-tasks 0.2.2

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

use crate::db;

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