© 2026 Hashnode
Overview While getting more comfortable with Rust, I decided to try writing a simple CLI.I looked for a library that could elegantly handle commands and found clap.This post is a quick note on how to map CLI commands and options to enums using clap. ...

Sometimes, when I'm writing a web application or installing one, I find that is not possible to start it up because the port that is supposed to use is used by other applications. So, that is the reason I want to create a program that shows me if a p...

In this part, we will be focusing on adding more options for our command line arguments as well as refactoring the code to make it look a lot better and readable. Let's get started! 🚀 Step 1: Introducing subcommands We'll begin by refactoring the Ar...
