| 8 | long_about = "Sign and verify PDFs using OpenPGP (gpg-agent) or Sigstore (keyless OIDC)." |
| 9 | )] |
| 10 | pub struct Cli { |
| 11 | #[command(subcommand)] |
| 12 | pub command: Commands, |
| 13 | |
| 14 | /// Output machine-readable JSON to stdout |
| 15 | #[arg(long, global = true)] |
| 16 | pub json: bool, |
| 17 | |
| 18 | /// Enable verbose logging (sets RUST_LOG=debug if not already set) |
| 19 | #[arg(short, long, global = true)] |
| 20 | pub verbose: bool, |
| 21 | } |
| 22 | |
| 23 | #[derive(Subcommand)] |
| 24 | pub enum Commands { |
nothing calls this directly
no outgoing calls
no test coverage detected