Harness the power of signify(1) to sign arbitrary git objects
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

initial commit

Tiago Carvalho 264c2559

+32
+2
.gitignore
··· 1 + /target 2 + /Cargo.lock
+8
Cargo.toml
··· 1 + [package] 2 + name = "git-signify" 3 + version = "0.1.0" 4 + edition = "2021" 5 + 6 + [dependencies] 7 + clap = { version = "4.3.17", features = ["derive"] } 8 + libsignify = "0.5.3"
+22
src/main.rs
··· 1 + use clap::Parser; 2 + 3 + /// Simple program to greet a person 4 + #[derive(Parser, Debug)] 5 + #[command(author, version, about, long_about = None)] 6 + struct Args { 7 + /// Name of the person to greet 8 + #[arg(short, long)] 9 + name: String, 10 + 11 + /// Number of times to greet 12 + #[arg(short, long, default_value_t = 1)] 13 + count: u8, 14 + } 15 + 16 + fn main() { 17 + let args = Args::parse(); 18 + 19 + for _ in 0..args.count { 20 + println!("Hello {}!", args.name) 21 + } 22 + }