MCPcopy Create free account
hub / github.com/0x77dev/pdf-sign / Cli

Class Cli

crates/cli/src/cli.rs:10–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8 long_about = "Sign and verify PDFs using OpenPGP (gpg-agent) or Sigstore (keyless OIDC)."
9)]
10pub 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)]
24pub enum Commands {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected