release_kit/cli/status.rs
1//! Arguments for `rk status`.
2
3use camino::Utf8PathBuf;
4use clap::Args;
5
6/// Report what landed in a target and whether it stayed truthful.
7#[derive(Debug, Args)]
8pub struct StatusArgs {
9 /// The repository to report on.
10 #[arg(long, default_value = ".")]
11 pub target: Utf8PathBuf,
12
13 /// Judge the identical report: exit 1 on a violation — drift on a
14 /// rendered file, an invalid or missing landing, or an unresolved
15 /// judgment sentinel. Seeded drift and pin staleness stay
16 /// informational.
17 #[arg(long)]
18 pub check: bool,
19
20 /// Emit one JSON object on stdout instead of the human report.
21 #[arg(long)]
22 pub json: bool,
23}