spec_driven_docs/cli/hooks.rs
1//! `hooks` subcommand: parse-shape.
2//!
3//! Holds the clap derive struct only. No I/O, no business logic.
4
5/// Render the delivered gate set as the managed pre-commit block.
6#[derive(Debug, clap::Args)]
7pub struct HooksArgs {
8 /// What replaces `{docs_root}` in wiring patterns.
9 #[arg(long, default_value = "_docs")]
10 pub docs_root: String,
11
12 /// The command prefix every entry invokes.
13 #[arg(long, default_value = "sdd")]
14 pub entry: String,
15
16 /// The sequence-item indentation of the consumer's repos entries.
17 #[arg(long, default_value = " ")]
18 pub indent: String,
19}