Skip to main content

aprender_zram_cli/
output.rs

1//! Output formatting for CLI.
2
3use clap::ValueEnum;
4
5/// Output format selection.
6#[derive(Debug, Clone, Copy, ValueEnum, Default)]
7pub enum OutputFormat {
8    /// Human-readable table format.
9    #[default]
10    Table,
11    /// JSON output.
12    Json,
13    /// Raw values (for scripting).
14    Raw,
15}