spec_driven_docs/cli/license.rs
1//! `license` subcommand: parse-shape.
2//!
3//! Holds the clap derive struct only. No I/O, no business logic.
4
5/// Print the license terms this binary carries.
6#[derive(Debug, Clone, Copy, clap::Args)]
7pub struct LicenseArgs {
8 /// Print the CC BY 4.0 text covering the method.
9 #[arg(long)]
10 pub method: bool,
11
12 /// Print the MIT text covering the distribution.
13 #[arg(long)]
14 pub payload: bool,
15
16 /// Print the notices for every third-party source the payload derives from.
17 #[arg(long)]
18 pub third_party: bool,
19}