romm-cli 0.20.0

Rust-based CLI and TUI for the ROMM API
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
//! 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).await
}