Hello Clap in Rust
A very simple tutorial of using Clap for CLI
Published in
Jul 27, 2022
Hi guys! 👋 I’ve spent an hour trying to find just a simple example of how to parse arguments when running a CLI using Clap in Rust. Most of the tutorials are outdated and too complicated, so I created a very simple one here. Hope this can save your time too!
Try:
cargo run greeting --greet Helle --name "John Doe"
Github 👉 https://github.com/mtreerungroj/hello-clap-rs
一緒に頑張ろう!また〜🫶