Skip to main content

romm_cli/frontend/
tui.rs

1use anyhow::Result;
2
3use crate::client::RommClient;
4use crate::config::Config;
5
6/// Execute the interactive TUI frontend (config must already be loaded).
7pub async fn run(client: RommClient, config: Config) -> Result<()> {
8    crate::tui::run(client, config).await
9}
10
11/// Load layered env, optional first-time setup, then run the TUI.
12pub async fn run_interactive(verbose: bool) -> Result<()> {
13    crate::tui::run_interactive(verbose).await
14}