loop-tui 0.2.0

A simple todo-list app, based on GTD - 'loop' from 'list of open points'
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
mod app;
mod modal;
mod state;
mod store;
mod task;

use app::App;
use directories::ProjectDirs;

fn main() -> eyre::Result<()> {
    color_eyre::install()?;

    let Some(proj_dirs) = ProjectDirs::from("org", "cdbrkfxrpt", "loop") else {
        eyre::bail!("unable to access project dirs (used for storing config and data)");
    };

    ratatui::run(|terminal| App::try_run(&proj_dirs, terminal))
}