RandStrGen is a Command-Line tool for generating strings of some length, from a pool of characters.
A built binary for MacOS is at ./rand-str-gen.
Otherwise, you can compile the source code with
git clone "https://github.com/MasonFeurer/RandStrGen.git"
cd RandStrGen
cargo build --releaseAnd an executable will be placed in ./target/release.
For help with optional and/or required arguments, use
rand-str-gen --helpGenerate a string of length 10
rand-str-gen 10Then exclude misc symbols
rand-str-gen 10 -mThen add characters to pool: '%', '$', '^', '@'
rand-str-gen 10 "+[%$^@]"Use default sets, but without '.'
rand-str-gen 10 "-[.]"