use clap::Args;
use std::path::PathBuf;
#[derive(Args, Debug, Clone, Default)]
pub struct DatabaseArgs {
#[arg(long = "db-config", value_name = "FILE", id = "db_config")]
pub config: Option<PathBuf>,
#[arg(long = "store")]
pub store_results: bool,
#[arg(long = "history", value_name = "HOSTNAME:PORT")]
pub history: Option<String>,
#[arg(long = "history-limit", value_name = "COUNT", default_value = "10")]
pub history_limit: i64,
#[arg(long = "cleanup-days", value_name = "DAYS")]
pub cleanup_days: Option<i64>,
#[arg(long = "db-init")]
pub init: bool,
#[arg(
long = "db-config-example",
value_name = "FILE",
id = "db_config_example"
)]
pub config_example: Option<PathBuf>,
}