bfree 0.1.21

bfree - memory stats for humans
Documentation
use clap::Parser;

#[derive(Debug, Parser)]
#[command(author, version, about = "bfree - memory stats for humans")]
pub struct Args {
    #[arg(
        short = 'e',
        long = "extended",
        conflicts_with = "pretty",
        help = "Show multi-line details: totals, percentages, and cache breakdown"
    )]
    pub extended: bool,

    #[arg(
        short = 'p',
        long = "pretty",
        conflicts_with_all = ["extended", "json", "yaml"],
        help = "Show a multi-line view with progress bars"
    )]
    pub pretty: bool,

    #[arg(
        long = "json",
        conflicts_with = "yaml",
        help = "Output stats as JSON"
    )]
    pub json: bool,

    #[arg(
        long = "yaml",
        conflicts_with = "json",
        help = "Output stats as YAML"
    )]
    pub yaml: bool,
}