If you don’t have nested commands, you can still use my crate, it’s just that the benefits will only be apparent once your CLI expands to multiple, nested commands.
Imagine a CLI command like my-cli projects users add --email [email protected].
Below is what a diff with clap-nested-commands vs without the crate looks like. You can see how much code is required for each new command without using the crate.
I’m about a year into my Rust journey. It’s been on/off studying during that time as I converted a Node.js CLI to a Rust CLI. That’s a blog post on its own at some point, but seeing the results and how many runtime errors Rust takes care of for me during compile time, I know Rust is the way to go for CLIs and also high throughput services.