A super simple way to generate passwords using the CLI. The password is just a random combination of characters including upper case, lower case, numbers and special characters.
The generated passwords is based on an example from the rust cookbook. See here for more: https://rust-lang-nursery.github.io/rust-cookbook/algorithms/randomness.html#create-random-passwords-from-a-set-of-user-defined-characters
git clone https://github.com/crushingCodes/passgen.git
cd passgen
cargo install --path .
passgen
Output:
Password copied to clipboard ✅
That's it, you are ready to go!
Knapp, K. B., & The Clap Community. (2025). clap (Version 4.5.34) [Computer software]. https://github.com/clap-rs/clap