tam 1.0.11

A tasks manager cli tool
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
mod project_screen;
mod task_screen;
mod components;

use ratatui::Frame;
use crate::app::{App, CurrentScreen};

pub fn draw(frame: &mut Frame, app: &mut App) {
    match app.current_screen {
        CurrentScreen::Project => {
            project_screen::draw(frame, app);
        }
        CurrentScreen::Task => {
            task_screen::draw(frame, app);
        }
    }
}