clap: Command-Line Argument Parsing

Updated

October 31, 2026

clap: Command-Line Argument Parsing

Clap provides declarative, type-safe command-line argument parsing via procedural derive macros:

// #[derive(Parser)]
// #[command(author, version, about)]
// struct Cli { port: u16 }