use clap::{Args, ValueHint};
use std::path::PathBuf;
#[derive(Args, Debug, Clone)]
pub struct ReviewArgs {
#[arg(long)]
pub json: bool,
#[arg(long, value_name = "PATH", value_hint = ValueHint::FilePath)]
pub events: Option<PathBuf>,
#[arg(long, value_name = "PATH", value_hint = ValueHint::FilePath)]
pub last_message_file: Option<PathBuf>,
#[arg(long, conflicts_with_all = ["target", "files"])]
pub last_diff: bool,
#[arg(long, value_name = "TARGET", conflicts_with = "files")]
pub target: Option<String>,
#[arg(long, value_name = "STYLE")]
pub style: Option<String>,
#[arg(long, value_name = "FILE", conflicts_with = "target")]
pub files: Vec<PathBuf>,
}