Skip to main content

release_kit/cli/
assess.rs

1//! Arguments for `rk assess`.
2
3use camino::Utf8PathBuf;
4use clap::Args;
5
6/// Classify a target before anything lands: greenfield, brownfield, or
7/// needs-decision, from evidence read off the disk and the local git
8/// state.
9///
10/// Reporting only: it writes nothing, touches no network, and every
11/// verdict exits 0 — the classification is a result, not a judgment.
12#[derive(Debug, Args)]
13pub struct AssessArgs {
14    /// The repository to classify.
15    #[arg(long, default_value = ".")]
16    pub target: Utf8PathBuf,
17
18    /// Emit one JSON object on stdout instead of the human report.
19    #[arg(long)]
20    pub json: bool,
21}