chore(vendor): add anyhow crate

This commit was merged in pull request #68.
This commit is contained in:
alexion committed 2026-09-17 14:13:23 -04:00
1 parent 7a3a3d6b90
commit 37539682d4
454 files changed
+8906 -1468

No files matched your search

+22
View File
@@ -0,0 +1,22 @@
use clap::Parser;
/// Simple program to greet a person
#[derive(Parser, Debug)]
#[command(version, about, long_about = None)]
struct Args {
/// Name of the person to greet
#[arg(short, long)]
name: String,
/// Number of times to greet
#[arg(short, long, default_value_t = 1)]
count: u8,
}
fn main() {
let args = Args::parse();
for _ in 0..args.count {
println!("Hello {}!", args.name);
}
}