use clap::{Args, ValueHint};
use std::time::Duration;
use crate::TioOpts;
#[derive(Args, Debug)]
pub struct CaptureCli {
#[command(flatten)]
pub tio: TioOpts,
#[arg(default_value = "test.capture", value_hint = ValueHint::Other)]
pub rpc_name: String,
#[arg(long, default_value = "5s", value_parser = humantime::parse_duration)]
pub timeout: Duration,
}