feat(cli): implement clap

added clap, justfile now allows passing args to run recipe
This commit is contained in:
2026-08-30 15:12:25 -05:00
parent 939defca26
commit 9bed16badc
2 changed files with 12 additions and 3 deletions
+10 -1
View File
@@ -1,4 +1,13 @@
use clap::Parser;
#[derive(Parser, Debug)]
#[command(version, about, long_about = None)]
struct Args {
word: String,
}
#[tokio::main]
async fn main() {
println!("Hello, dictionary!");
let args = Args::parse();
println!("{:?}", args);
}