twrap 0.1.0

A TUI wrapper for applying rules to live terminal screens.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
mod config;
mod highlight;
mod model;
mod support;
mod template;
mod transform;
mod tui;

use anyhow::Result;
use clap::Parser;
use model::Cli;

fn main() -> Result<()> {
    let cli = Cli::parse();
    let runtime = config::build_runtime(cli)?;
    tui::run(runtime)
}