mbx 1.24.1

A build cache for Rust projects
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use crate::config::Config;
use eyre::Result;
use std::process::ExitCode;

#[derive(usage_rs::Args)]
pub(super) struct TuiArgs {
    /// Print one plain-text snapshot instead of taking over the terminal.
    #[usage(long)]
    once: bool,
}

pub(super) fn run(config: &Config, args: TuiArgs, cheeky: bool) -> Result<ExitCode> {
    crate::tui::run(config, args.once, cheeky)
}