Our great sponsors
-
-
-
SonarLint
Clean code begins in your IDE with SonarLint. Up your coding game and discover issues early. SonarLint is a free plugin that helps you find & fix bugs and security issues from the moment you start writing code. Install from your favorite IDE marketplace today.
-
command-line-rust
Code for Command-Line Rust (O'Reilly, 2022, ISBN 9781098109417) https://learning.oreilly.com/library/view/command-line-rust/9781098109424/
I think that's my CLI book you went through. I used clap v2.33 for the programs (https://github.com/kyclark/command-line-rust) because v3 was not ready when I was writing. Each program is clearly divided into a part for gathering the inputs from the user and a part that implements the logic of the program using said inputs. While my examples for the input gathering might be outdated now (Rust moves fast!), the latter parts are not in any way outdated (IMHO). The goal of the book is to get you writing *and testing* programs quickly, which is the best way to learn (again IMHO).