rustfs_cli/output/mod.rs
1//! Output formatting utilities
2//!
3//! This module provides formatters for CLI output in both human-readable
4//! and JSON formats. It also handles progress bars and colored output.
5
6mod formatter;
7mod progress;
8
9// These exports will be used in Phase 2+ when commands are implemented
10#[allow(unused_imports)]
11pub use formatter::Formatter;
12#[allow(unused_imports)]
13pub use formatter::Theme;
14#[allow(unused_imports)]
15pub use progress::ProgressBar;
16
17/// Output configuration derived from CLI flags
18#[derive(Debug, Clone, Default)]
19#[allow(dead_code)]
20pub struct OutputConfig {
21 /// Use JSON output format
22 pub json: bool,
23 /// Disable colored output
24 pub no_color: bool,
25 /// Disable progress bar
26 pub no_progress: bool,
27 /// Suppress non-error output
28 pub quiet: bool,
29}