Implementing Boolean Negation Flags with Clap
How to use Rust’s clap library to implement boolean --foo and --no-foo flags that undo each other
Rust is a compiled, statically-typed programming language that focuses on language stability, avoidance of undefined behavior, and “fearless concurrency.” The language enforces memory safety, not through reference counting & garbage collection, but through assigning objects ownerships & lifetimes. Its compiler error messages also tend to be more helpful than other languages’.
How to use Rust’s clap library to implement boolean --foo and --no-foo flags that undo each other