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, an unresolved
15 /// judgment sentinel, or an invariant a landed file's effective
16 /// configuration violates. Seeded drift and pin staleness stay
17 /// informational.
18 #[arg(long)]
19 pub check: bool,
20
21 /// Emit one JSON object on stdout instead of the human report.
22 #[arg(long)]
23 pub json: bool,
24}