1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
//! UI module for consistent, modern CLI experience
//!
//! Uses `cliclack` (Rust port of @clack/prompts) for interactive prompts
//! with automatic fallback to plain output in CI/non-interactive environments.
//!
//! # Example
//!
//! ```rust,ignore
//! use mino::ui::{self, UiContext, TaskSpinner};
//!
//! let ctx = UiContext::detect().with_auto_yes(args.yes);
//!
//! ui::intro(&ctx, "Mino Setup");
//!
//! let mut spinner = TaskSpinner::new(&ctx);
//! spinner.start("Checking prerequisites...");
//! // ... do work ...
//! spinner.stop("All prerequisites found");
//!
//! ui::step_ok(&ctx, "Homebrew installed");
//! ui::step_warn_hint(&ctx, "OrbStack not running", "Run: orb start");
//!
//! let yes = ui::confirm(&ctx, "Install OrbStack?", false).await?;
//!
//! ui::outro_success(&ctx, "Setup complete!");
//! ```
pub use UiContext;
pub use ;
pub use ;
pub use ;
pub use ;