Skip to main content

spec_driven_docs/cli/
status.rs

1//! `status` subcommand: parse-shape.
2//!
3//! Holds the clap derive struct only. No I/O, no business logic.
4
5use camino::Utf8PathBuf;
6
7/// Report an instance's state without gating on it.
8#[derive(Debug, clap::Args)]
9pub struct StatusArgs {
10    /// The repository to inspect; absolute, or the working directory.
11    #[arg(long, default_value = ".")]
12    pub target: Utf8PathBuf,
13
14    /// Print one JSON object instead of text.
15    #[arg(long)]
16    pub json: bool,
17}