use std::path::PathBuf;
use clap::{Args, Subcommand, ValueEnum};
#[derive(Debug, Subcommand)]
pub enum TeamCommand {
Join(TeamJoinArgs),
Update(TeamUpdateArgs),
Leave,
}
#[derive(Debug, Args)]
pub struct TeamJoinArgs {
pub bundle: PathBuf,
#[arg(long, value_name = "ENTRY")]
pub signer: String,
}
#[derive(Debug, Args)]
pub struct TeamUpdateArgs {
pub bundle: Option<PathBuf>,
}
#[derive(Debug, Clone, Copy, PartialEq, Eq, ValueEnum)]
pub enum InventoryFormat {
Json,
Ocsf,
}
#[derive(Debug, Args)]
pub struct InventoryArgs {
#[arg(long, value_enum)]
pub format: Option<InventoryFormat>,
#[arg(long, value_name = "BUNDLE", conflicts_with = "deliver")]
pub check: Option<PathBuf>,
#[arg(long)]
pub deliver: bool,
}