use clap::Parser;
#[derive(Parser, Debug)]
#[command(
name = "clap_doc_generator",
version,
about = "Extract clap CLI definitions from Rust source code and write them as a markdown table into readme files"
)]
pub struct Args {
#[arg(short, long, default_value = ".")]
pub directory: String,
#[arg(short, long)]
pub recursive: bool,
#[arg(long, default_value = "readme.md")]
pub name: String,
#[arg(long, default_value = "<!-- CLAP_DOC_GEN_START -->")]
pub start_marker: String,
#[arg(long, default_value = "<!-- CLAP_DOC_GEN_END -->")]
pub end_marker: String,
}