docker_stats/cli.rs
1use clap::{arg, Command};
2
3pub fn args() -> Command {
4 Command::new("ds")
5 .about("Think \"docker stats\" but with beautiful, real-time charts. 📊")
6 .arg_required_else_help(false)
7 .arg(arg!(<CONTAINER> ... "The container to show stats for.").required(false))
8 .arg(arg!(-c - -compact "Enable a simpler, more compact view."))
9 .arg(arg!(-f - -full "Enable a more detailed view."))
10}