blob: 4761366c316f831f777b99fa2a74ad61b74cb565 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
mod db;
mod deck;
mod gui;
mod model;
mod space_repetition;
mod util;
use anyhow::Result;
fn main() -> Result<()> {
let conn = db::db::init()?;
let entries = deck::read()?;
db::db::add_missing_deck_entries(&conn, entries)?;
gui::gui::start(&conn)
}
|