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
43
//! User-facing output utilities for clean, colored terminal messages
//!
//! This module provides functions for displaying warnings and errors to users
//! in a friendly, colored format without internal logging noise (timestamps,
//! log levels, crate names, etc.).
use OwoColorize;
/// Display a warning message to the user in yellow with padding
///
/// Format: blank line + yellow message + blank line
///
/// # Example
/// ```ignore
/// output::warn("Pattern matched 4951 files - parsing may take some time.");
/// ```
/// Display an error message to the user in red with padding
///
/// Format: blank line + red message + blank line
///
/// # Example
/// ```ignore
/// output::error("Index not found. Run 'rfx index' to build the cache first.");
/// ```
/// Display an informational message to the user in default color with padding
///
/// Format: blank line + message + blank line
///
/// # Example
/// ```ignore
/// output::info("Indexing completed successfully.");
/// ```