Add sqlite and config support

This commit is contained in:
2025-10-09 11:33:06 +08:00
parent 5053d19d73
commit 10b89aee17
14 changed files with 758 additions and 33 deletions

View File

@@ -1,5 +1,9 @@
mod app;
mod event;
mod schema;
mod types;
mod config;
mod helpers;
use color_eyre::Result;
use tokio;
@@ -8,7 +12,7 @@ use tokio;
async fn main() -> Result<()> {
color_eyre::install()?;
let terminal = ratatui::init();
let mut app = app::App::new();
let app = app::App::new();
let result = app.run(terminal).await;
ratatui::restore();
result