use clap::{Parser, ValueEnum};
use std::path::PathBuf;
use crate::RootArgs;
#[derive(Debug, Clone, Parser)]
pub(crate) struct ProposeArgs {
#[command(flatten)]
pub(super) root: RootArgs,
#[arg(long)]
pub(super) config: Option<PathBuf>,
#[arg(long)]
pub(super) kind: Option<String>,
#[arg(long)]
pub(super) include_untracked: bool,
#[arg(long)]
pub(super) expires: Option<String>,
#[arg(long)]
pub(super) write: Option<PathBuf>,
#[arg(long)]
pub(super) force: bool,
#[arg(long, value_enum, default_value_t = ProposeSummaryFormat::Human)]
pub(super) summary_format: ProposeSummaryFormat,
#[arg(long)]
pub(super) summary_output: Option<PathBuf>,
}
#[derive(Debug, Clone, Copy, PartialEq, Eq, ValueEnum)]
pub(super) enum ProposeSummaryFormat {
Human,
Json,
}