//! Launches the ROMM TUI only (no `tui` subcommand). Same config as `romm-cli`.

use anyhow::Result;
use romm_cli::frontend::tui;

#[tokio::main]
async fn main() -> Result<()> {
    let verbose = std::env::var("ROMM_VERBOSE")
        .map(|v| v == "1" || v.eq_ignore_ascii_case("true"))
        .unwrap_or(false);

    tui::run_interactive(verbose, false).await
}
