use std::path::PathBuf;
use clap::Parser;
#[derive(Parser, Debug)]
#[command(author, version, about, long_about = None)]
pub struct Args {
#[clap(subcommand)]
pub command: Command,
#[clap(short, long, allow_hyphen_values = true, global = true)]
pub output: Option<String>,
}
#[derive(Parser, Debug, Clone)]
pub enum Command {
#[clap()]
File { path: PathBuf },
#[clap()]
System {
service: String,
object_path: String,
},
#[clap()]
Session {
service: String,
object_path: String,
},
#[clap()]
Address {
address: String,
service: String,
object_path: String,
},
}